st-comp 0.0.200 → 0.0.201

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.
Files changed (148) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.js +4 -4
  3. package/es/ConfigProvider.cjs +1 -1
  4. package/es/ConfigProvider.js +1 -1
  5. package/es/CustomFunction.cjs +1 -1
  6. package/es/CustomFunction.js +46 -42
  7. package/es/FactorWarning.cjs +1 -1
  8. package/es/FactorWarning.js +82 -77
  9. package/es/Kline.cjs +1 -1
  10. package/es/Kline.js +21 -19
  11. package/es/KlineBasic.cjs +1 -1
  12. package/es/KlineBasic.js +30 -28
  13. package/es/KlineConfig.cjs +1 -1
  14. package/es/KlineConfig.js +25 -23
  15. package/es/KlineNew.cjs +1 -1
  16. package/es/KlineNew.js +20 -18
  17. package/es/KlinePlus.cjs +3 -3
  18. package/es/KlinePlus.js +274 -269
  19. package/es/MonacoEditor.cjs +1 -1
  20. package/es/MonacoEditor.js +2 -2
  21. package/es/Pagination.cjs +1 -1
  22. package/es/Pagination.js +74 -72
  23. package/es/PasswordPrompt.cjs +1 -1
  24. package/es/PasswordPrompt.js +9 -157
  25. package/es/Pie.cjs +1 -1
  26. package/es/Pie.js +1 -1
  27. package/es/Table.cjs +1 -1
  28. package/es/Table.js +53 -50
  29. package/es/User.cjs +1 -1
  30. package/es/User.js +1313 -1
  31. package/es/VarSelectDialog.cjs +1 -1
  32. package/es/VarSelectDialog.js +28 -26
  33. package/es/VarietyAutoComplete.cjs +1 -1
  34. package/es/VarietyAutoComplete.js +19 -18
  35. package/es/VarietySearch.cjs +7 -7
  36. package/es/VarietySearch.js +703 -697
  37. package/es/VarietyTextCopy.cjs +1 -1
  38. package/es/VarietyTextCopy.js +12 -12
  39. package/es/VirtualTable.cjs +1 -1
  40. package/es/VirtualTable.js +80 -79
  41. package/es/{el-popover-5421d52a.cjs → _initCloneObject-52b6a510.cjs} +1 -1
  42. package/es/{el-popover-7a1c6412.js → _initCloneObject-eaef9418.js} +9 -9
  43. package/es/{base-8348063b.js → base-a5af3db3.js} +38 -38
  44. package/es/{castArray-3f45c3ec.js → castArray-7741a212.js} +1 -1
  45. package/es/{config-provider-eb0460f1.cjs → config-provider-a584d81e.cjs} +1 -1
  46. package/es/{config-provider-1a687690.js → config-provider-b16efd62.js} +6 -6
  47. package/es/debounce-62f5b6e8.cjs +1 -0
  48. package/es/debounce-8d53f4dd.js +83 -0
  49. package/es/dropdown-071c5d7e.cjs +1 -0
  50. package/es/dropdown-a59bba73.js +178 -0
  51. package/es/el-autocomplete-a07e9439.cjs +1 -0
  52. package/es/{el-autocomplete-d4cd96cd.js → el-autocomplete-ba808eb6.js} +16 -16
  53. package/es/{el-button-2e680390.js → el-button-c95adb85.js} +33 -33
  54. package/es/{el-button-4ccd7122.cjs → el-button-eec58cff.cjs} +1 -1
  55. package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
  56. package/es/el-checkbox-group-4ed993c7.js +1 -0
  57. package/es/{el-dialog-bafc4b2b.js → el-dialog-41ab8417.js} +7 -6
  58. package/es/{el-dialog-6413b4af.cjs → el-dialog-ae86edb8.cjs} +1 -1
  59. package/es/{el-divider-93b0ee21.js → el-divider-4e059794.js} +1 -1
  60. package/es/{el-empty-56783dca.js → el-empty-33cb66f1.js} +3 -3
  61. package/es/el-form-item-c3fe189b.cjs +12 -0
  62. package/es/el-form-item-c53c374d.js +1269 -0
  63. package/es/{el-input-735575f4.js → el-input-2f75c4ba.js} +34 -34
  64. package/es/{el-input-6c5ac889.cjs → el-input-7fd293af.cjs} +1 -1
  65. package/es/{el-input-number-d5770776.cjs → el-input-number-22e21d16.cjs} +1 -1
  66. package/es/{el-input-number-6634a6ea.js → el-input-number-5193fe6d.js} +35 -35
  67. package/es/{el-loading-98dcebee.cjs → el-loading-cfd86c15.cjs} +1 -1
  68. package/es/{el-loading-049dacc5.js → el-loading-f6022062.js} +5 -5
  69. package/es/{el-menu-item-828bc6fa.cjs → el-menu-item-17dc717e.cjs} +1 -1
  70. package/es/{el-menu-item-8a210e21.js → el-menu-item-7e881203.js} +22 -22
  71. package/es/{el-message-a1ac37d4.cjs → el-message-5e6a6be9.cjs} +1 -1
  72. package/es/el-message-box-a93d2f6a.js +489 -0
  73. package/es/el-message-box-c10adb52.cjs +1 -0
  74. package/es/{el-message-def216ae.js → el-message-e544a8f5.js} +24 -24
  75. package/es/{el-overlay-4ea38eab.js → el-overlay-09ad71cd.js} +51 -51
  76. package/es/{el-overlay-69dfacb6.cjs → el-overlay-9e34965f.cjs} +1 -1
  77. package/es/{el-popconfirm-bdeceeb7.cjs → el-popconfirm-70a976bf.cjs} +1 -1
  78. package/es/{el-popconfirm-aace1104.js → el-popconfirm-81dcd202.js} +20 -20
  79. package/es/el-popover-0ea8fbf8.cjs +1 -0
  80. package/es/el-popover-4ed993c7.js +1 -0
  81. package/es/{el-popper-986a8371.js → el-popper-b4f97157.js} +115 -112
  82. package/es/{el-popper-b962125f.cjs → el-popper-b6c99b28.cjs} +1 -1
  83. package/es/el-scrollbar-323542e7.js +34 -0
  84. package/es/el-scrollbar-bc3f790d.cjs +1 -0
  85. package/es/{el-segmented-f892ec18.js → el-segmented-b868d074.js} +8 -8
  86. package/es/{el-segmented-6b057ed5.cjs → el-segmented-f8fce9ac.cjs} +1 -1
  87. package/es/{el-select-2189a8ac.js → el-select-95627997.js} +42 -41
  88. package/es/el-select-d8d91db1.cjs +1 -0
  89. package/es/el-table-column-079b76f5.cjs +14 -0
  90. package/es/{el-table-column-91d69c86.js → el-table-column-72c50d58.js} +14 -14
  91. package/es/{el-tag-75a7573a.js → el-tag-66cab138.js} +16 -16
  92. package/es/{el-tag-a15520b3.cjs → el-tag-a33c4b22.cjs} +1 -1
  93. package/es/{el-checkbox-group-e26a4533.js → el-text-ac60d0f2.js} +16 -16
  94. package/es/{el-checkbox-group-dfdad075.cjs → el-text-c20a9f48.cjs} +1 -1
  95. package/es/{index-1fb95601.cjs → index-098c2447.cjs} +1 -1
  96. package/es/{index-16802b35.cjs → index-11547a0c.cjs} +1 -1
  97. package/es/index-1f7d4f70.js +157 -0
  98. package/es/{index-680be212.cjs → index-298075cf.cjs} +1 -1
  99. package/es/index-57672682.js +113 -0
  100. package/es/{index-9cfb6ccf.js → index-7ed0999e.js} +2 -0
  101. package/es/{index-f3a86049.js → index-844bdd85.js} +29 -29
  102. package/es/index-88546436.js +163 -0
  103. package/es/{index-cc200b99.cjs → index-8901a38c.cjs} +1 -1
  104. package/es/{index-e00ee015.js → index-960806da.js} +36 -36
  105. package/es/index-9b9ef5dd.cjs +1 -0
  106. package/es/{index-847d58bc.js → index-a871c3eb.js} +92 -62
  107. package/es/{index-780e7fd2.js → index-bc8e277e.js} +2 -2
  108. package/es/{index-5e0314ac.cjs → index-c108567d.cjs} +1 -1
  109. package/es/{index-78381381.cjs → index-d725fef6.cjs} +2 -2
  110. package/es/{index-14c88a1a.js → index-d77a7336.js} +1 -1
  111. package/es/{index-f45c2897.js → index-d91dc23f.js} +20 -20
  112. package/es/{index-c94b9543.js → index-e5566b94.js} +43 -43
  113. package/es/index-f3562b52.cjs +1 -0
  114. package/es/index-f967d6c1.cjs +1 -0
  115. package/es/{python-2e916d28.cjs → python-c27ba105.cjs} +1 -1
  116. package/es/{python-7cf0b6ba.js → python-ecde9ff2.js} +2 -2
  117. package/es/{raf-8e5f0699.js → raf-80ef0c0a.js} +1 -1
  118. package/es/{scroll-c43468ab.js → scroll-679bd6bf.js} +1 -1
  119. package/es/style.css +1 -1
  120. package/es/{use-form-common-props-e6cba60f.js → use-form-common-props-815d48a6.js} +69 -69
  121. package/es/{use-form-common-props-d8866dc6.cjs → use-form-common-props-fd9b61a0.cjs} +1 -1
  122. package/es/{use-global-config-72d50e62.cjs → use-global-config-30d7d8ce.cjs} +1 -1
  123. package/es/{use-global-config-76ff2e3e.js → use-global-config-b5e9d3d5.js} +14 -14
  124. package/es/{validator-e759d43d.cjs → validator-1b8a6128.cjs} +1 -1
  125. package/es/{validator-220652c5.js → validator-764a9db0.js} +1 -1
  126. package/es/vnode-5ddb7ed1.js +14 -0
  127. package/es/vnode-b906ae6d.cjs +1 -0
  128. package/es/{zh-cn-33e7aee6.cjs → zh-cn-90317f62.cjs} +1 -1
  129. package/es/{zh-cn-c7fa42ea.js → zh-cn-e963c628.js} +2 -2
  130. package/lib/bundle.js +1 -1
  131. package/lib/bundle.umd.cjs +21 -21
  132. package/lib/{index-410c490f.js → index-c0ce50bc.js} +736 -733
  133. package/lib/{python-589861d2.js → python-9dae326e.js} +1 -1
  134. package/lib/style.css +1 -1
  135. package/package.json +1 -1
  136. package/packages/KlinePlus/index.vue +17 -7
  137. package/src/pages/KlinePlus/index.vue +6 -5
  138. package/es/el-autocomplete-86c0d989.cjs +0 -1
  139. package/es/el-form-item-41becb31.js +0 -1749
  140. package/es/el-form-item-95476197.cjs +0 -12
  141. package/es/el-scrollbar-139aa96d.cjs +0 -1
  142. package/es/el-scrollbar-cdadd788.js +0 -115
  143. package/es/el-select-e1046cc6.cjs +0 -1
  144. package/es/el-table-column-f1c4af89.cjs +0 -14
  145. package/es/index-56ea97a9.js +0 -122
  146. package/es/index-8583c047.cjs +0 -1
  147. package/es/index-ce63356a.cjs +0 -1
  148. package/es/index-db1e1861.js +0 -318
@@ -1,41 +1,47 @@
1
- import { b as Uu, c as Oe, e as Ve, f as $e, O as Re, u as se, _ as de, d as Me, w as X0, y as r0 } from "./base-8348063b.js";
2
- import "./el-tag-75a7573a.js";
3
- import { E as fe, a as pe } from "./el-select-2189a8ac.js";
4
- import "./el-scrollbar-cdadd788.js";
5
- import { U as be, C as he, u as ut, d as et, E as tt } from "./el-popper-986a8371.js";
6
- import { b as nt, c as rt, E as at, a as ot } from "./el-table-column-91d69c86.js";
7
- import { E as lt } from "./el-checkbox-group-e26a4533.js";
8
- import { ref as eu, inject as a0, computed as Q, defineComponent as Du, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as Nu, isRef as o0, withModifiers as qu, vModelRadio as l0, renderSlot as me, createTextVNode as L, toDisplayString as uu, nextTick as Bu, normalizeStyle as i0, onMounted as c0, provide as it, reactive as ct, toRefs as st, watch as vu, Fragment as z, renderList as Z, createBlock as P, mergeProps as dt, mergeModels as ju, useModel as Zu, withCtx as D, createVNode as y, createCommentVNode as U, resolveComponent as qe, vShow as s0, pushScopeId as xe, popScopeId as _e, createSlots as Ku } from "vue";
9
- import { E as ge } from "./el-dialog-bafc4b2b.js";
10
- import "./el-overlay-4ea38eab.js";
11
- import { E as ft, b as pt, a as bt } from "./el-form-item-41becb31.js";
12
- import { E as d0 } from "./el-input-735575f4.js";
13
- import { E as f0 } from "./el-input-number-6634a6ea.js";
1
+ import { b as Uu, c as Oe, p as Ve, o as $e, k as Re, u as se, _ as de, e as Me, w as X0, l as r0 } from "./base-a5af3db3.js";
2
+ import "./el-tag-66cab138.js";
3
+ import { E as fe, a as pe } from "./el-select-95627997.js";
4
+ import "./el-scrollbar-323542e7.js";
5
+ import { U as be, C as he, u as ut, d as et, E as tt } from "./el-popper-b4f97157.js";
6
+ import { b as nt, c as rt, E as ot, a as at } from "./el-table-column-72c50d58.js";
7
+ import "./el-checkbox-group-4ed993c7.js";
8
+ import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as Nu, isRef as a0, withModifiers as qu, vModelRadio as l0, renderSlot as me, createTextVNode as L, toDisplayString as uu, nextTick as Bu, normalizeStyle as i0, onMounted as c0, provide as lt, reactive as it, toRefs as ct, watch as vu, Fragment as z, renderList as Z, createBlock as P, mergeProps as st, mergeModels as ju, useModel as Zu, withCtx as D, createVNode as y, createCommentVNode as U, resolveComponent as qe, vShow as s0, pushScopeId as xe, popScopeId as _e, createSlots as Ku } from "vue";
9
+ import { E as ge } from "./el-dialog-41ab8417.js";
10
+ import "./el-overlay-09ad71cd.js";
11
+ import { a as dt, E as ft } from "./el-form-item-c53c374d.js";
12
+ import { E as d0 } from "./el-input-2f75c4ba.js";
13
+ import { E as f0 } from "./el-input-number-5193fe6d.js";
14
14
  import "./el-tooltip-4ed993c7.js";
15
- import { E as p0 } from "./el-button-2e680390.js";
16
- import "./el-popover-7a1c6412.js";
17
- import { p as Xu, i as ht, b as mt, o as xt, E as _t } from "./index-847d58bc.js";
18
- import { E as b0 } from "./index-f3a86049.js";
19
- import { M as gt } from "./index-780e7fd2.js";
20
- import { E as W } from "./el-message-def216ae.js";
15
+ import { E as p0 } from "./el-button-c95adb85.js";
16
+ import "./el-popover-4ed993c7.js";
17
+ import { E as pt } from "./el-text-ac60d0f2.js";
18
+ import { p as Xu, i as bt, c as ht, s as mt, E as xt } from "./index-a871c3eb.js";
19
+ import { E as b0 } from "./index-844bdd85.js";
20
+ import { M as _t } from "./index-bc8e277e.js";
21
+ import { E as W } from "./el-message-e544a8f5.js";
22
+ import { E as gt } from "./el-message-box-a93d2f6a.js";
21
23
  import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
22
- import { E as h0 } from "./index-56ea97a9.js";
23
- import { E as kt } from "./index-db1e1861.js";
24
- import { u as m0, b as yt, d as vt, e as Ct, f as Et } from "./use-form-common-props-e6cba60f.js";
24
+ import { E as h0 } from "./index-57672682.js";
25
+ import { E as kt } from "./index-88546436.js";
26
+ import { h as m0, e as yt, g as vt, d as Ct, f as Et } from "./use-form-common-props-815d48a6.js";
25
27
  import { u as Dt } from "./index-2e331d74.js";
26
- import { u as Ft } from "./index-e00ee015.js";
27
- import { d as At } from "./index-c94b9543.js";
28
- import "./index-14c88a1a.js";
29
- import "./castArray-3f45c3ec.js";
30
- import "./index-f45c2897.js";
31
- import "./scroll-c43468ab.js";
32
- import "./use-global-config-76ff2e3e.js";
33
- import "./raf-8e5f0699.js";
34
- import "./validator-220652c5.js";
28
+ import { u as Ft } from "./index-960806da.js";
29
+ import { i as At } from "./index-e5566b94.js";
30
+ import "./index-d77a7336.js";
31
+ import "./castArray-7741a212.js";
32
+ import "./index-d91dc23f.js";
33
+ import "./scroll-679bd6bf.js";
34
+ import "./debounce-8d53f4dd.js";
35
+ import "./vnode-5ddb7ed1.js";
36
+ import "./use-global-config-b5e9d3d5.js";
37
+ import "./_initCloneObject-eaef9418.js";
38
+ import "./raf-80ef0c0a.js";
35
39
  import "./typescript-7ae59c4c.js";
36
40
  import "./index-657047bb.js";
37
- import "./index-9cfb6ccf.js";
38
- import "./config-provider-1a687690.js";
41
+ import "./index-7ed0999e.js";
42
+ import "./config-provider-b16efd62.js";
43
+ import "./validator-764a9db0.js";
44
+ import "./dropdown-a59bba73.js";
39
45
  const x0 = Uu({
40
46
  modelValue: {
41
47
  type: [String, Number, Boolean],
@@ -62,14 +68,14 @@ const x0 = Uu({
62
68
  [be]: (u) => Oe(u) || Ve(u) || $e(u),
63
69
  [he]: (u) => Oe(u) || Ve(u) || $e(u)
64
70
  }, g0 = Symbol("radioGroupKey"), k0 = (u, e) => {
65
- const t = eu(), n = a0(g0, void 0), r = Q(() => !!n), a = Q(() => Re(u.value) ? u.label : u.value), l = Q({
71
+ const t = eu(), n = o0(g0, void 0), r = Q(() => !!n), o = Q(() => Re(u.value) ? u.label : u.value), l = Q({
66
72
  get() {
67
73
  return r.value ? n.modelValue : u.modelValue;
68
74
  },
69
75
  set(s) {
70
- r.value ? n.changeEvent(s) : e && e(be, s), t.value.checked = u.modelValue === a.value;
76
+ r.value ? n.changeEvent(s) : e && e(be, s), t.value.checked = u.modelValue === o.value;
71
77
  }
72
- }), o = yt(Q(() => n == null ? void 0 : n.size)), c = vt(Q(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = Q(() => c.value || r.value && l.value !== a.value ? -1 : 0);
78
+ }), a = yt(Q(() => n == null ? void 0 : n.size)), c = vt(Q(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = Q(() => c.value || r.value && l.value !== o.value ? -1 : 0);
73
79
  return Dt({
74
80
  from: "label act as value",
75
81
  replacement: "value",
@@ -81,11 +87,11 @@ const x0 = Uu({
81
87
  isGroup: r,
82
88
  radioGroup: n,
83
89
  focus: i,
84
- size: o,
90
+ size: a,
85
91
  disabled: c,
86
92
  tabIndex: f,
87
93
  modelValue: l,
88
- actualValue: a
94
+ actualValue: o
89
95
  };
90
96
  }, Tt = Du({
91
97
  name: "ElRadio"
@@ -94,7 +100,7 @@ const x0 = Uu({
94
100
  props: wt,
95
101
  emits: _0,
96
102
  setup(u, { emit: e }) {
97
- const t = u, n = se("radio"), { radioRef: r, radioGroup: a, focus: l, size: o, disabled: c, modelValue: i, actualValue: f } = k0(t, e);
103
+ const t = u, n = se("radio"), { radioRef: r, radioGroup: o, focus: l, size: a, disabled: c, modelValue: i, actualValue: f } = k0(t, e);
98
104
  function s() {
99
105
  Bu(() => e(he, i.value));
100
106
  }
@@ -107,7 +113,7 @@ const x0 = Uu({
107
113
  O(n).is("focus", O(l)),
108
114
  O(n).is("bordered", p.border),
109
115
  O(n).is("checked", O(i) === O(f)),
110
- O(n).m(O(o))
116
+ O(n).m(O(a))
111
117
  ])
112
118
  }, [
113
119
  V("span", {
@@ -120,10 +126,10 @@ const x0 = Uu({
120
126
  Nu(V("input", {
121
127
  ref_key: "radioRef",
122
128
  ref: r,
123
- "onUpdate:modelValue": (w) => o0(i) ? i.value = w : null,
129
+ "onUpdate:modelValue": (w) => a0(i) ? i.value = w : null,
124
130
  class: lu(O(n).e("original")),
125
131
  value: O(f),
126
- name: p.name || ((d = O(a)) == null ? void 0 : d.name),
132
+ name: p.name || ((d = O(o)) == null ? void 0 : d.name),
127
133
  disabled: O(c),
128
134
  checked: O(i) === O(f),
129
135
  type: "radio",
@@ -161,7 +167,7 @@ const It = Uu({
161
167
  ...Ot,
162
168
  props: It,
163
169
  setup(u) {
164
- const e = u, t = se("radio"), { radioRef: n, focus: r, size: a, disabled: l, modelValue: o, radioGroup: c, actualValue: i } = k0(e), f = Q(() => ({
170
+ const e = u, t = se("radio"), { radioRef: n, focus: r, size: o, disabled: l, modelValue: a, radioGroup: c, actualValue: i } = k0(e), f = Q(() => ({
165
171
  backgroundColor: (c == null ? void 0 : c.fill) || "",
166
172
  borderColor: (c == null ? void 0 : c.fill) || "",
167
173
  boxShadow: c != null && c.fill ? `-1px 0 0 0 ${c.fill}` : "",
@@ -172,16 +178,16 @@ const It = Uu({
172
178
  return E(), S("label", {
173
179
  class: lu([
174
180
  O(t).b("button"),
175
- O(t).is("active", O(o) === O(i)),
181
+ O(t).is("active", O(a) === O(i)),
176
182
  O(t).is("disabled", O(l)),
177
183
  O(t).is("focus", O(r)),
178
- O(t).bm("button", O(a))
184
+ O(t).bm("button", O(o))
179
185
  ])
180
186
  }, [
181
187
  Nu(V("input", {
182
188
  ref_key: "radioRef",
183
189
  ref: n,
184
- "onUpdate:modelValue": (d) => o0(o) ? o.value = d : null,
190
+ "onUpdate:modelValue": (d) => a0(a) ? a.value = d : null,
185
191
  class: lu(O(t).be("button", "original-radio")),
186
192
  value: O(i),
187
193
  type: "radio",
@@ -192,11 +198,11 @@ const It = Uu({
192
198
  onClick: qu(() => {
193
199
  }, ["stop"])
194
200
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
195
- [l0, O(o)]
201
+ [l0, O(a)]
196
202
  ]),
197
203
  V("span", {
198
204
  class: lu(O(t).be("button", "inner")),
199
- style: i0(O(o) === O(i) ? O(f) : {}),
205
+ style: i0(O(a) === O(i) ? O(f) : {}),
200
206
  onKeydown: qu(() => {
201
207
  }, ["stop"])
202
208
  }, [
@@ -255,13 +261,13 @@ const $t = Uu({
255
261
  props: $t,
256
262
  emits: Rt,
257
263
  setup(u, { emit: e }) {
258
- const t = u, n = se("radio"), r = Ft(), a = eu(), { formItem: l } = Ct(), { inputId: o, isLabeledByFormItem: c } = Et(t, {
264
+ const t = u, n = se("radio"), r = Ft(), o = eu(), { formItem: l } = Ct(), { inputId: a, isLabeledByFormItem: c } = Et(t, {
259
265
  formItemContext: l
260
266
  }), i = (m) => {
261
267
  e(be, m), Bu(() => e(he, m));
262
268
  };
263
269
  c0(() => {
264
- const m = a.value.querySelectorAll("[type=radio]"), d = m[0];
270
+ const m = o.value.querySelectorAll("[type=radio]"), d = m[0];
265
271
  !Array.from(m).some((w) => w.checked) && d && (d.tabIndex = 0);
266
272
  });
267
273
  const f = Q(() => t.name || r.value), s = Q(() => ({
@@ -275,23 +281,23 @@ const $t = Uu({
275
281
  };
276
282
  return { ...m, ...d };
277
283
  };
278
- return it(g0, ct({
279
- ...st(t),
284
+ return lt(g0, it({
285
+ ...ct(t),
280
286
  changeEvent: i,
281
287
  name: f
282
288
  })), vu(() => t.modelValue, (m, d) => {
283
289
  t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((w) => et()));
284
290
  }), (m, d) => (E(), S("div", {
285
- id: O(o),
291
+ id: O(a),
286
292
  ref_key: "radioGroupRef",
287
- ref: a,
293
+ ref: o,
288
294
  class: lu(O(n).b("group")),
289
295
  role: "radiogroup",
290
296
  "aria-label": O(c) ? void 0 : m.ariaLabel || "radio-group",
291
297
  "aria-labelledby": O(c) ? O(l).labelId : void 0
292
298
  }, [
293
299
  me(m.$slots, "default", {}, () => [
294
- (E(!0), S(z, null, Z(t.options, (w, $) => (E(), P(y0, dt({ key: $ }, p(w)), null, 16))), 128))
300
+ (E(!0), S(z, null, Z(t.options, (w, $) => (E(), P(y0, st({ key: $ }, p(w)), null, 16))), 128))
295
301
  ])
296
302
  ], 10, ["id", "aria-label", "aria-labelledby"]));
297
303
  }
@@ -942,33 +948,33 @@ function Cu(u, e) {
942
948
  const t = Lt(e);
943
949
  return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
944
950
  let r = "";
945
- for (let a = 0, l = n.length; a < l; a += 3) {
946
- const o = parseInt(n.slice(a + 1, a + 3), 16);
947
- if (o < 128) {
948
- r += t[o];
951
+ for (let o = 0, l = n.length; o < l; o += 3) {
952
+ const a = parseInt(n.slice(o + 1, o + 3), 16);
953
+ if (a < 128) {
954
+ r += t[a];
949
955
  continue;
950
956
  }
951
- if ((o & 224) === 192 && a + 3 < l) {
952
- const c = parseInt(n.slice(a + 4, a + 6), 16);
957
+ if ((a & 224) === 192 && o + 3 < l) {
958
+ const c = parseInt(n.slice(o + 4, o + 6), 16);
953
959
  if ((c & 192) === 128) {
954
- const i = o << 6 & 1984 | c & 63;
955
- i < 128 ? r += "��" : r += String.fromCharCode(i), a += 3;
960
+ const i = a << 6 & 1984 | c & 63;
961
+ i < 128 ? r += "��" : r += String.fromCharCode(i), o += 3;
956
962
  continue;
957
963
  }
958
964
  }
959
- if ((o & 240) === 224 && a + 6 < l) {
960
- const c = parseInt(n.slice(a + 4, a + 6), 16), i = parseInt(n.slice(a + 7, a + 9), 16);
965
+ if ((a & 240) === 224 && o + 6 < l) {
966
+ const c = parseInt(n.slice(o + 4, o + 6), 16), i = parseInt(n.slice(o + 7, o + 9), 16);
961
967
  if ((c & 192) === 128 && (i & 192) === 128) {
962
- const f = o << 12 & 61440 | c << 6 & 4032 | i & 63;
963
- f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), a += 6;
968
+ const f = a << 12 & 61440 | c << 6 & 4032 | i & 63;
969
+ f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), o += 6;
964
970
  continue;
965
971
  }
966
972
  }
967
- if ((o & 248) === 240 && a + 9 < l) {
968
- const c = parseInt(n.slice(a + 4, a + 6), 16), i = parseInt(n.slice(a + 7, a + 9), 16), f = parseInt(n.slice(a + 10, a + 12), 16);
973
+ if ((a & 248) === 240 && o + 9 < l) {
974
+ const c = parseInt(n.slice(o + 4, o + 6), 16), i = parseInt(n.slice(o + 7, o + 9), 16), f = parseInt(n.slice(o + 10, o + 12), 16);
969
975
  if ((c & 192) === 128 && (i & 192) === 128 && (f & 192) === 128) {
970
- let s = o << 18 & 1835008 | c << 12 & 258048 | i << 6 & 4032 | f & 63;
971
- s < 65536 || s > 1114111 ? r += "����" : (s -= 65536, r += String.fromCharCode(55296 + (s >> 10), 56320 + (s & 1023))), a += 9;
976
+ let s = a << 18 & 1835008 | c << 12 & 258048 | i << 6 & 4032 | f & 63;
977
+ s < 65536 || s > 1114111 ? r += "����" : (s -= 65536, r += String.fromCharCode(55296 + (s >> 10), 56320 + (s & 1023))), o += 9;
972
978
  continue;
973
979
  }
974
980
  }
@@ -997,28 +1003,28 @@ function Ou(u, e, t) {
997
1003
  typeof e != "string" && (t = e, e = Ou.defaultChars), typeof t > "u" && (t = !0);
998
1004
  const n = Pt(e);
999
1005
  let r = "";
1000
- for (let a = 0, l = u.length; a < l; a++) {
1001
- const o = u.charCodeAt(a);
1002
- if (t && o === 37 && a + 2 < l && /^[0-9a-f]{2}$/i.test(u.slice(a + 1, a + 3))) {
1003
- r += u.slice(a, a + 3), a += 2;
1006
+ for (let o = 0, l = u.length; o < l; o++) {
1007
+ const a = u.charCodeAt(o);
1008
+ if (t && a === 37 && o + 2 < l && /^[0-9a-f]{2}$/i.test(u.slice(o + 1, o + 3))) {
1009
+ r += u.slice(o, o + 3), o += 2;
1004
1010
  continue;
1005
1011
  }
1006
- if (o < 128) {
1007
- r += n[o];
1012
+ if (a < 128) {
1013
+ r += n[a];
1008
1014
  continue;
1009
1015
  }
1010
- if (o >= 55296 && o <= 57343) {
1011
- if (o >= 55296 && o <= 56319 && a + 1 < l) {
1012
- const c = u.charCodeAt(a + 1);
1016
+ if (a >= 55296 && a <= 57343) {
1017
+ if (a >= 55296 && a <= 56319 && o + 1 < l) {
1018
+ const c = u.charCodeAt(o + 1);
1013
1019
  if (c >= 56320 && c <= 57343) {
1014
- r += encodeURIComponent(u[a] + u[a + 1]), a++;
1020
+ r += encodeURIComponent(u[o] + u[o + 1]), o++;
1015
1021
  continue;
1016
1022
  }
1017
1023
  }
1018
1024
  r += "%EF%BF%BD";
1019
1025
  continue;
1020
1026
  }
1021
- r += encodeURIComponent(u[a]);
1027
+ r += encodeURIComponent(u[o]);
1022
1028
  }
1023
1029
  return r;
1024
1030
  }
@@ -1054,24 +1060,24 @@ function Ee(u, e) {
1054
1060
  return t.parse(u, e), t;
1055
1061
  }
1056
1062
  zu.prototype.parse = function(u, e) {
1057
- let t, n, r, a = u;
1058
- if (a = a.trim(), !e && u.split("#").length === 1) {
1059
- const i = jt.exec(a);
1063
+ let t, n, r, o = u;
1064
+ if (o = o.trim(), !e && u.split("#").length === 1) {
1065
+ const i = jt.exec(o);
1060
1066
  if (i)
1061
1067
  return this.pathname = i[1], i[2] && (this.search = i[2]), this;
1062
1068
  }
1063
- let l = Ut.exec(a);
1064
- if (l && (l = l[0], t = l.toLowerCase(), this.protocol = l, a = a.substr(l.length)), (e || l || a.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = a.substr(0, 2) === "//", r && !(l && Ze[l]) && (a = a.substr(2), this.slashes = !0)), !Ze[l] && (r || l && !He[l])) {
1069
+ let l = Ut.exec(o);
1070
+ if (l && (l = l[0], t = l.toLowerCase(), this.protocol = l, o = o.substr(l.length)), (e || l || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(l && Ze[l]) && (o = o.substr(2), this.slashes = !0)), !Ze[l] && (r || l && !He[l])) {
1065
1071
  let i = -1;
1066
1072
  for (let d = 0; d < Ne.length; d++)
1067
- n = a.indexOf(Ne[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1073
+ n = o.indexOf(Ne[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1068
1074
  let f, s;
1069
- i === -1 ? s = a.lastIndexOf("@") : s = a.lastIndexOf("@", i), s !== -1 && (f = a.slice(0, s), a = a.slice(s + 1), this.auth = f), i = -1;
1075
+ i === -1 ? s = o.lastIndexOf("@") : s = o.lastIndexOf("@", i), s !== -1 && (f = o.slice(0, s), o = o.slice(s + 1), this.auth = f), i = -1;
1070
1076
  for (let d = 0; d < Ue.length; d++)
1071
- n = a.indexOf(Ue[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1072
- i === -1 && (i = a.length), a[i - 1] === ":" && i--;
1073
- const p = a.slice(0, i);
1074
- a = a.slice(i), this.parseHost(p), this.hostname = this.hostname || "";
1077
+ n = o.indexOf(Ue[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1078
+ i === -1 && (i = o.length), o[i - 1] === ":" && i--;
1079
+ const p = o.slice(0, i);
1080
+ o = o.slice(i), this.parseHost(p), this.hostname = this.hostname || "";
1075
1081
  const m = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
1076
1082
  if (!m) {
1077
1083
  const d = this.hostname.split(/\./);
@@ -1083,7 +1089,7 @@ zu.prototype.parse = function(u, e) {
1083
1089
  A.charCodeAt(k) > 127 ? h += "x" : h += A[k];
1084
1090
  if (!h.match(je)) {
1085
1091
  const k = d.slice(0, w), b = d.slice(w + 1), x = A.match(Wt);
1086
- x && (k.push(x[1]), b.unshift(x[2])), b.length && (a = b.join(".") + a), this.hostname = k.join(".");
1092
+ x && (k.push(x[1]), b.unshift(x[2])), b.length && (o = b.join(".") + o), this.hostname = k.join(".");
1087
1093
  break;
1088
1094
  }
1089
1095
  }
@@ -1091,10 +1097,10 @@ zu.prototype.parse = function(u, e) {
1091
1097
  }
1092
1098
  this.hostname.length > Jt && (this.hostname = ""), m && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
1093
1099
  }
1094
- const o = a.indexOf("#");
1095
- o !== -1 && (this.hash = a.substr(o), a = a.slice(0, o));
1096
- const c = a.indexOf("?");
1097
- return c !== -1 && (this.search = a.substr(c), a = a.slice(0, c)), a && (this.pathname = a), He[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1100
+ const a = o.indexOf("#");
1101
+ a !== -1 && (this.hash = o.substr(a), o = o.slice(0, a));
1102
+ const c = o.indexOf("?");
1103
+ return c !== -1 && (this.search = o.substr(c), o = o.slice(0, c)), o && (this.pathname = o), He[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1098
1104
  };
1099
1105
  zu.prototype.parseHost = function(u) {
1100
1106
  let e = Nt.exec(u);
@@ -1175,14 +1181,14 @@ var hu;
1175
1181
  function le(u) {
1176
1182
  return u >= Y.ZERO && u <= Y.NINE;
1177
1183
  }
1178
- function an(u) {
1184
+ function on(u) {
1179
1185
  return u >= Y.UPPER_A && u <= Y.UPPER_F || u >= Y.LOWER_A && u <= Y.LOWER_F;
1180
1186
  }
1181
- function on(u) {
1187
+ function an(u) {
1182
1188
  return u >= Y.UPPER_A && u <= Y.UPPER_Z || u >= Y.LOWER_A && u <= Y.LOWER_Z || le(u);
1183
1189
  }
1184
1190
  function ln(u) {
1185
- return u === Y.EQUALS || on(u);
1191
+ return u === Y.EQUALS || an(u);
1186
1192
  }
1187
1193
  var J;
1188
1194
  (function(u) {
@@ -1239,8 +1245,8 @@ class cn {
1239
1245
  }
1240
1246
  addToNumericResult(e, t, n, r) {
1241
1247
  if (t !== n) {
1242
- const a = n - t;
1243
- this.result = this.result * Math.pow(r, a) + parseInt(e.substr(t, a), r), this.consumed += a;
1248
+ const o = n - t;
1249
+ this.result = this.result * Math.pow(r, o) + parseInt(e.substr(t, o), r), this.consumed += o;
1244
1250
  }
1245
1251
  }
1246
1252
  /**
@@ -1256,7 +1262,7 @@ class cn {
1256
1262
  const n = t;
1257
1263
  for (; t < e.length; ) {
1258
1264
  const r = e.charCodeAt(t);
1259
- if (le(r) || an(r))
1265
+ if (le(r) || on(r))
1260
1266
  t += 1;
1261
1267
  else
1262
1268
  return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
@@ -1317,17 +1323,17 @@ class cn {
1317
1323
  */
1318
1324
  stateNamedEntity(e, t) {
1319
1325
  const { decodeTree: n } = this;
1320
- let r = n[this.treeIndex], a = (r & hu.VALUE_LENGTH) >> 14;
1326
+ let r = n[this.treeIndex], o = (r & hu.VALUE_LENGTH) >> 14;
1321
1327
  for (; t < e.length; t++, this.excess++) {
1322
1328
  const l = e.charCodeAt(t);
1323
- if (this.treeIndex = sn(n, r, this.treeIndex + Math.max(1, a), l), this.treeIndex < 0)
1329
+ if (this.treeIndex = sn(n, r, this.treeIndex + Math.max(1, o), l), this.treeIndex < 0)
1324
1330
  return this.result === 0 || // If we are parsing an attribute
1325
1331
  this.decodeMode === bu.Attribute && // We shouldn't have consumed any characters after the entity,
1326
- (a === 0 || // And there should be no invalid characters.
1332
+ (o === 0 || // And there should be no invalid characters.
1327
1333
  ln(l)) ? 0 : this.emitNotTerminatedNamedEntity();
1328
- if (r = n[this.treeIndex], a = (r & hu.VALUE_LENGTH) >> 14, a !== 0) {
1334
+ if (r = n[this.treeIndex], o = (r & hu.VALUE_LENGTH) >> 14, o !== 0) {
1329
1335
  if (l === Y.SEMI)
1330
- return this.emitNamedEntityData(this.treeIndex, a, this.consumed + this.excess);
1336
+ return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
1331
1337
  this.decodeMode !== bu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1332
1338
  }
1333
1339
  }
@@ -1382,40 +1388,40 @@ class cn {
1382
1388
  function S0(u) {
1383
1389
  let e = "";
1384
1390
  const t = new cn(u, (n) => e += tn(n));
1385
- return function(r, a) {
1386
- let l = 0, o = 0;
1387
- for (; (o = r.indexOf("&", o)) >= 0; ) {
1388
- e += r.slice(l, o), t.startEntity(a);
1391
+ return function(r, o) {
1392
+ let l = 0, a = 0;
1393
+ for (; (a = r.indexOf("&", a)) >= 0; ) {
1394
+ e += r.slice(l, a), t.startEntity(o);
1389
1395
  const i = t.write(
1390
1396
  r,
1391
1397
  // Skip the "&"
1392
- o + 1
1398
+ a + 1
1393
1399
  );
1394
1400
  if (i < 0) {
1395
- l = o + t.end();
1401
+ l = a + t.end();
1396
1402
  break;
1397
1403
  }
1398
- l = o + i, o = i === 0 ? l + 1 : l;
1404
+ l = a + i, a = i === 0 ? l + 1 : l;
1399
1405
  }
1400
1406
  const c = e + r.slice(l);
1401
1407
  return e = "", c;
1402
1408
  };
1403
1409
  }
1404
1410
  function sn(u, e, t, n) {
1405
- const r = (e & hu.BRANCH_LENGTH) >> 7, a = e & hu.JUMP_TABLE;
1411
+ const r = (e & hu.BRANCH_LENGTH) >> 7, o = e & hu.JUMP_TABLE;
1406
1412
  if (r === 0)
1407
- return a !== 0 && n === a ? t : -1;
1408
- if (a) {
1409
- const c = n - a;
1413
+ return o !== 0 && n === o ? t : -1;
1414
+ if (o) {
1415
+ const c = n - o;
1410
1416
  return c < 0 || c >= r ? -1 : u[t + c] - 1;
1411
1417
  }
1412
- let l = t, o = l + r - 1;
1413
- for (; l <= o; ) {
1414
- const c = l + o >>> 1, i = u[c];
1418
+ let l = t, a = l + r - 1;
1419
+ for (; l <= a; ) {
1420
+ const c = l + a >>> 1, i = u[c];
1415
1421
  if (i < n)
1416
1422
  l = c + 1;
1417
1423
  else if (i > n)
1418
- o = c - 1;
1424
+ a = c - 1;
1419
1425
  else
1420
1426
  return u[c + r];
1421
1427
  }
@@ -1586,14 +1592,14 @@ const Fn = { mdurl: Qt, ucmicro: Kt }, An = /* @__PURE__ */ Object.freeze(/* @__
1586
1592
  unescapeMd: gn
1587
1593
  }, Symbol.toStringTag, { value: "Module" }));
1588
1594
  function wn(u, e, t) {
1589
- let n, r, a, l;
1590
- const o = u.posMax, c = u.pos;
1591
- for (u.pos = e + 1, n = 1; u.pos < o; ) {
1592
- if (a = u.src.charCodeAt(u.pos), a === 93 && (n--, n === 0)) {
1595
+ let n, r, o, l;
1596
+ const a = u.posMax, c = u.pos;
1597
+ for (u.pos = e + 1, n = 1; u.pos < a; ) {
1598
+ if (o = u.src.charCodeAt(u.pos), o === 93 && (n--, n === 0)) {
1593
1599
  r = !0;
1594
1600
  break;
1595
1601
  }
1596
- if (l = u.pos, u.md.inline.skipToken(u), a === 91) {
1602
+ if (l = u.pos, u.md.inline.skipToken(u), o === 91) {
1597
1603
  if (l === u.pos - 1)
1598
1604
  n++;
1599
1605
  else if (t)
@@ -1605,7 +1611,7 @@ function wn(u, e, t) {
1605
1611
  }
1606
1612
  function Tn(u, e, t) {
1607
1613
  let n, r = e;
1608
- const a = {
1614
+ const o = {
1609
1615
  ok: !1,
1610
1616
  pos: 0,
1611
1617
  str: ""
@@ -1613,16 +1619,16 @@ function Tn(u, e, t) {
1613
1619
  if (u.charCodeAt(r) === 60) {
1614
1620
  for (r++; r < t; ) {
1615
1621
  if (n = u.charCodeAt(r), n === 10 || n === 60)
1616
- return a;
1622
+ return o;
1617
1623
  if (n === 62)
1618
- return a.pos = r + 1, a.str = Eu(u.slice(e + 1, r)), a.ok = !0, a;
1624
+ return o.pos = r + 1, o.str = Eu(u.slice(e + 1, r)), o.ok = !0, o;
1619
1625
  if (n === 92 && r + 1 < t) {
1620
1626
  r += 2;
1621
1627
  continue;
1622
1628
  }
1623
1629
  r++;
1624
1630
  }
1625
- return a;
1631
+ return o;
1626
1632
  }
1627
1633
  let l = 0;
1628
1634
  for (; r < t && (n = u.charCodeAt(r), !(n === 32 || n < 32 || n === 127)); ) {
@@ -1633,7 +1639,7 @@ function Tn(u, e, t) {
1633
1639
  continue;
1634
1640
  }
1635
1641
  if (n === 40 && (l++, l > 32))
1636
- return a;
1642
+ return o;
1637
1643
  if (n === 41) {
1638
1644
  if (l === 0)
1639
1645
  break;
@@ -1641,10 +1647,10 @@ function Tn(u, e, t) {
1641
1647
  }
1642
1648
  r++;
1643
1649
  }
1644
- return e === r || l !== 0 || (a.str = Eu(u.slice(e, r)), a.pos = r, a.ok = !0), a;
1650
+ return e === r || l !== 0 || (o.str = Eu(u.slice(e, r)), o.pos = r, o.ok = !0), o;
1645
1651
  }
1646
1652
  function Sn(u, e, t, n) {
1647
- let r, a = e;
1653
+ let r, o = e;
1648
1654
  const l = {
1649
1655
  // if `true`, this is a valid link title
1650
1656
  ok: !1,
@@ -1660,21 +1666,21 @@ function Sn(u, e, t, n) {
1660
1666
  if (n)
1661
1667
  l.str = n.str, l.marker = n.marker;
1662
1668
  else {
1663
- if (a >= t)
1669
+ if (o >= t)
1664
1670
  return l;
1665
- let o = u.charCodeAt(a);
1666
- if (o !== 34 && o !== 39 && o !== 40)
1671
+ let a = u.charCodeAt(o);
1672
+ if (a !== 34 && a !== 39 && a !== 40)
1667
1673
  return l;
1668
- e++, a++, o === 40 && (o = 41), l.marker = o;
1674
+ e++, o++, a === 40 && (a = 41), l.marker = a;
1669
1675
  }
1670
- for (; a < t; ) {
1671
- if (r = u.charCodeAt(a), r === l.marker)
1672
- return l.pos = a + 1, l.str += Eu(u.slice(e, a)), l.ok = !0, l;
1676
+ for (; o < t; ) {
1677
+ if (r = u.charCodeAt(o), r === l.marker)
1678
+ return l.pos = o + 1, l.str += Eu(u.slice(e, o)), l.ok = !0, l;
1673
1679
  if (r === 40 && l.marker === 41)
1674
1680
  return l;
1675
- r === 92 && a + 1 < t && a++, a++;
1681
+ r === 92 && o + 1 < t && o++, o++;
1676
1682
  }
1677
- return l.can_continue = !0, l.str += Eu(u.slice(e, a)), l;
1683
+ return l.can_continue = !0, l.str += Eu(u.slice(e, o)), l;
1678
1684
  }
1679
1685
  const In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1680
1686
  __proto__: null,
@@ -1683,40 +1689,40 @@ const In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1683
1689
  parseLinkTitle: Sn
1684
1690
  }, Symbol.toStringTag, { value: "Module" })), su = {};
1685
1691
  su.code_inline = function(u, e, t, n, r) {
1686
- const a = u[e];
1687
- return "<code" + r.renderAttrs(a) + ">" + mu(a.content) + "</code>";
1692
+ const o = u[e];
1693
+ return "<code" + r.renderAttrs(o) + ">" + mu(o.content) + "</code>";
1688
1694
  };
1689
1695
  su.code_block = function(u, e, t, n, r) {
1690
- const a = u[e];
1691
- return "<pre" + r.renderAttrs(a) + "><code>" + mu(u[e].content) + `</code></pre>
1696
+ const o = u[e];
1697
+ return "<pre" + r.renderAttrs(o) + "><code>" + mu(u[e].content) + `</code></pre>
1692
1698
  `;
1693
1699
  };
1694
1700
  su.fence = function(u, e, t, n, r) {
1695
- const a = u[e], l = a.info ? Eu(a.info).trim() : "";
1696
- let o = "", c = "";
1701
+ const o = u[e], l = o.info ? Eu(o.info).trim() : "";
1702
+ let a = "", c = "";
1697
1703
  if (l) {
1698
1704
  const f = l.split(/(\s+)/g);
1699
- o = f[0], c = f.slice(2).join("");
1705
+ a = f[0], c = f.slice(2).join("");
1700
1706
  }
1701
1707
  let i;
1702
- if (t.highlight ? i = t.highlight(a.content, o, c) || mu(a.content) : i = mu(a.content), i.indexOf("<pre") === 0)
1708
+ if (t.highlight ? i = t.highlight(o.content, a, c) || mu(o.content) : i = mu(o.content), i.indexOf("<pre") === 0)
1703
1709
  return i + `
1704
1710
  `;
1705
1711
  if (l) {
1706
- const f = a.attrIndex("class"), s = a.attrs ? a.attrs.slice() : [];
1707
- f < 0 ? s.push(["class", t.langPrefix + o]) : (s[f] = s[f].slice(), s[f][1] += " " + t.langPrefix + o);
1712
+ const f = o.attrIndex("class"), s = o.attrs ? o.attrs.slice() : [];
1713
+ f < 0 ? s.push(["class", t.langPrefix + a]) : (s[f] = s[f].slice(), s[f][1] += " " + t.langPrefix + a);
1708
1714
  const p = {
1709
1715
  attrs: s
1710
1716
  };
1711
1717
  return `<pre><code${r.renderAttrs(p)}>${i}</code></pre>
1712
1718
  `;
1713
1719
  }
1714
- return `<pre><code${r.renderAttrs(a)}>${i}</code></pre>
1720
+ return `<pre><code${r.renderAttrs(o)}>${i}</code></pre>
1715
1721
  `;
1716
1722
  };
1717
1723
  su.image = function(u, e, t, n, r) {
1718
- const a = u[e];
1719
- return a.attrs[a.attrIndex("alt")][1] = r.renderInlineAsText(a.children, t, n), r.renderToken(u, e, t);
1724
+ const o = u[e];
1725
+ return o.attrs[o.attrIndex("alt")][1] = r.renderInlineAsText(o.children, t, n), r.renderToken(u, e, t);
1720
1726
  };
1721
1727
  su.hardbreak = function(u, e, t) {
1722
1728
  return t.xhtmlOut ? `<br />
@@ -1751,31 +1757,31 @@ Fu.prototype.renderAttrs = function(e) {
1751
1757
  };
1752
1758
  Fu.prototype.renderToken = function(e, t, n) {
1753
1759
  const r = e[t];
1754
- let a = "";
1760
+ let o = "";
1755
1761
  if (r.hidden)
1756
1762
  return "";
1757
- r.block && r.nesting !== -1 && t && e[t - 1].hidden && (a += `
1758
- `), a += (r.nesting === -1 ? "</" : "<") + r.tag, a += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (a += " /");
1763
+ r.block && r.nesting !== -1 && t && e[t - 1].hidden && (o += `
1764
+ `), o += (r.nesting === -1 ? "</" : "<") + r.tag, o += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (o += " /");
1759
1765
  let l = !1;
1760
1766
  if (r.block && (l = !0, r.nesting === 1 && t + 1 < e.length)) {
1761
- const o = e[t + 1];
1762
- (o.type === "inline" || o.hidden || o.nesting === -1 && o.tag === r.tag) && (l = !1);
1767
+ const a = e[t + 1];
1768
+ (a.type === "inline" || a.hidden || a.nesting === -1 && a.tag === r.tag) && (l = !1);
1763
1769
  }
1764
- return a += l ? `>
1765
- ` : ">", a;
1770
+ return o += l ? `>
1771
+ ` : ">", o;
1766
1772
  };
1767
1773
  Fu.prototype.renderInline = function(u, e, t) {
1768
1774
  let n = "";
1769
1775
  const r = this.rules;
1770
- for (let a = 0, l = u.length; a < l; a++) {
1771
- const o = u[a].type;
1772
- typeof r[o] < "u" ? n += r[o](u, a, e, t, this) : n += this.renderToken(u, a, e);
1776
+ for (let o = 0, l = u.length; o < l; o++) {
1777
+ const a = u[o].type;
1778
+ typeof r[a] < "u" ? n += r[a](u, o, e, t, this) : n += this.renderToken(u, o, e);
1773
1779
  }
1774
1780
  return n;
1775
1781
  };
1776
1782
  Fu.prototype.renderInlineAsText = function(u, e, t) {
1777
1783
  let n = "";
1778
- for (let r = 0, a = u.length; r < a; r++)
1784
+ for (let r = 0, o = u.length; r < o; r++)
1779
1785
  switch (u[r].type) {
1780
1786
  case "text":
1781
1787
  n += u[r].content;
@@ -1798,9 +1804,9 @@ Fu.prototype.renderInlineAsText = function(u, e, t) {
1798
1804
  Fu.prototype.render = function(u, e, t) {
1799
1805
  let n = "";
1800
1806
  const r = this.rules;
1801
- for (let a = 0, l = u.length; a < l; a++) {
1802
- const o = u[a].type;
1803
- o === "inline" ? n += this.renderInline(u[a].children, e, t) : typeof r[o] < "u" ? n += r[o](u, a, e, t, this) : n += this.renderToken(u, a, e, t);
1807
+ for (let o = 0, l = u.length; o < l; o++) {
1808
+ const a = u[o].type;
1809
+ a === "inline" ? n += this.renderInline(u[o].children, e, t) : typeof r[a] < "u" ? n += r[a](u, o, e, t, this) : n += this.renderToken(u, o, e, t);
1804
1810
  }
1805
1811
  return n;
1806
1812
  };
@@ -1832,25 +1838,25 @@ tu.prototype.at = function(u, e, t) {
1832
1838
  this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
1833
1839
  };
1834
1840
  tu.prototype.before = function(u, e, t, n) {
1835
- const r = this.__find__(u), a = n || {};
1841
+ const r = this.__find__(u), o = n || {};
1836
1842
  if (r === -1)
1837
1843
  throw new Error("Parser rule not found: " + u);
1838
1844
  this.__rules__.splice(r, 0, {
1839
1845
  name: e,
1840
1846
  enabled: !0,
1841
1847
  fn: t,
1842
- alt: a.alt || []
1848
+ alt: o.alt || []
1843
1849
  }), this.__cache__ = null;
1844
1850
  };
1845
1851
  tu.prototype.after = function(u, e, t, n) {
1846
- const r = this.__find__(u), a = n || {};
1852
+ const r = this.__find__(u), o = n || {};
1847
1853
  if (r === -1)
1848
1854
  throw new Error("Parser rule not found: " + u);
1849
1855
  this.__rules__.splice(r + 1, 0, {
1850
1856
  name: e,
1851
1857
  enabled: !0,
1852
1858
  fn: t,
1853
- alt: a.alt || []
1859
+ alt: o.alt || []
1854
1860
  }), this.__cache__ = null;
1855
1861
  };
1856
1862
  tu.prototype.push = function(u, e, t) {
@@ -1896,10 +1902,10 @@ tu.prototype.disable = function(u, e) {
1896
1902
  tu.prototype.getRules = function(u) {
1897
1903
  return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
1898
1904
  };
1899
- function ou(u, e, t) {
1905
+ function au(u, e, t) {
1900
1906
  this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
1901
1907
  }
1902
- ou.prototype.attrIndex = function(e) {
1908
+ au.prototype.attrIndex = function(e) {
1903
1909
  if (!this.attrs)
1904
1910
  return -1;
1905
1911
  const t = this.attrs;
@@ -1908,26 +1914,26 @@ ou.prototype.attrIndex = function(e) {
1908
1914
  return n;
1909
1915
  return -1;
1910
1916
  };
1911
- ou.prototype.attrPush = function(e) {
1917
+ au.prototype.attrPush = function(e) {
1912
1918
  this.attrs ? this.attrs.push(e) : this.attrs = [e];
1913
1919
  };
1914
- ou.prototype.attrSet = function(e, t) {
1920
+ au.prototype.attrSet = function(e, t) {
1915
1921
  const n = this.attrIndex(e), r = [e, t];
1916
1922
  n < 0 ? this.attrPush(r) : this.attrs[n] = r;
1917
1923
  };
1918
- ou.prototype.attrGet = function(e) {
1924
+ au.prototype.attrGet = function(e) {
1919
1925
  const t = this.attrIndex(e);
1920
1926
  let n = null;
1921
1927
  return t >= 0 && (n = this.attrs[t][1]), n;
1922
1928
  };
1923
- ou.prototype.attrJoin = function(e, t) {
1929
+ au.prototype.attrJoin = function(e, t) {
1924
1930
  const n = this.attrIndex(e);
1925
1931
  n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
1926
1932
  };
1927
1933
  function $0(u, e, t) {
1928
1934
  this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
1929
1935
  }
1930
- $0.prototype.Token = ou;
1936
+ $0.prototype.Token = au;
1931
1937
  const On = /\r\n?|\n/g, Vn = /\0/g;
1932
1938
  function $n(u) {
1933
1939
  let e;
@@ -1957,19 +1963,19 @@ function zn(u) {
1957
1963
  for (let t = 0, n = e.length; t < n; t++) {
1958
1964
  if (e[t].type !== "inline" || !u.md.linkify.pretest(e[t].content))
1959
1965
  continue;
1960
- let r = e[t].children, a = 0;
1966
+ let r = e[t].children, o = 0;
1961
1967
  for (let l = r.length - 1; l >= 0; l--) {
1962
- const o = r[l];
1963
- if (o.type === "link_close") {
1964
- for (l--; r[l].level !== o.level && r[l].type !== "link_open"; )
1968
+ const a = r[l];
1969
+ if (a.type === "link_close") {
1970
+ for (l--; r[l].level !== a.level && r[l].type !== "link_open"; )
1965
1971
  l--;
1966
1972
  continue;
1967
1973
  }
1968
- if (o.type === "html_inline" && (qn(o.content) && a > 0 && a--, Bn(o.content) && a++), !(a > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
1969
- const c = o.content;
1974
+ if (a.type === "html_inline" && (qn(a.content) && o > 0 && o--, Bn(a.content) && o++), !(o > 0) && a.type === "text" && u.md.linkify.test(a.content)) {
1975
+ const c = a.content;
1970
1976
  let i = u.md.linkify.match(c);
1971
1977
  const f = [];
1972
- let s = o.level, p = 0;
1978
+ let s = a.level, p = 0;
1973
1979
  i.length > 0 && i[0].index === 0 && l > 0 && r[l - 1].type === "text_special" && (i = i.slice(1));
1974
1980
  for (let m = 0; m < i.length; m++) {
1975
1981
  const d = i[m].url, w = u.md.normalizeLink(d);
@@ -2034,16 +2040,16 @@ function Jn(u, e) {
2034
2040
  let t;
2035
2041
  const n = [];
2036
2042
  for (let r = 0; r < u.length; r++) {
2037
- const a = u[r], l = u[r].level;
2043
+ const o = u[r], l = u[r].level;
2038
2044
  for (t = n.length - 1; t >= 0 && !(n[t].level <= l); t--)
2039
2045
  ;
2040
- if (n.length = t + 1, a.type !== "text")
2046
+ if (n.length = t + 1, o.type !== "text")
2041
2047
  continue;
2042
- let o = a.content, c = 0, i = o.length;
2048
+ let a = o.content, c = 0, i = a.length;
2043
2049
  u:
2044
2050
  for (; c < i; ) {
2045
2051
  Ge.lastIndex = c;
2046
- const f = Ge.exec(o);
2052
+ const f = Ge.exec(a);
2047
2053
  if (!f)
2048
2054
  break;
2049
2055
  let s = !0, p = !0;
@@ -2051,7 +2057,7 @@ function Jn(u, e) {
2051
2057
  const m = f[0] === "'";
2052
2058
  let d = 32;
2053
2059
  if (f.index - 1 >= 0)
2054
- d = o.charCodeAt(f.index - 1);
2060
+ d = a.charCodeAt(f.index - 1);
2055
2061
  else
2056
2062
  for (t = r - 1; t >= 0 && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t--)
2057
2063
  if (u[t].content) {
@@ -2060,7 +2066,7 @@ function Jn(u, e) {
2060
2066
  }
2061
2067
  let w = 32;
2062
2068
  if (c < i)
2063
- w = o.charCodeAt(c);
2069
+ w = a.charCodeAt(c);
2064
2070
  else
2065
2071
  for (t = r + 1; t < u.length && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t++)
2066
2072
  if (u[t].content) {
@@ -2069,7 +2075,7 @@ function Jn(u, e) {
2069
2075
  }
2070
2076
  const $ = Su(d) || Tu(String.fromCharCode(d)), A = Su(w) || Tu(String.fromCharCode(w)), h = wu(d), k = wu(w);
2071
2077
  if (k ? s = !1 : A && (h || $ || (s = !1)), h ? p = !1 : $ && (k || A || (p = !1)), w === 34 && f[0] === '"' && d >= 48 && d <= 57 && (p = s = !1), s && p && (s = $, p = A), !s && !p) {
2072
- m && (a.content = Ru(a.content, f.index, Je));
2078
+ m && (o.content = Ru(o.content, f.index, Je));
2073
2079
  continue;
2074
2080
  }
2075
2081
  if (p)
@@ -2080,11 +2086,11 @@ function Jn(u, e) {
2080
2086
  if (b.single === m && n[t].level === l) {
2081
2087
  b = n[t];
2082
2088
  let x, g;
2083
- m ? (x = e.md.options.quotes[2], g = e.md.options.quotes[3]) : (x = e.md.options.quotes[0], g = e.md.options.quotes[1]), a.content = Ru(a.content, f.index, g), u[b.token].content = Ru(
2089
+ m ? (x = e.md.options.quotes[2], g = e.md.options.quotes[3]) : (x = e.md.options.quotes[0], g = e.md.options.quotes[1]), o.content = Ru(o.content, f.index, g), u[b.token].content = Ru(
2084
2090
  u[b.token].content,
2085
2091
  b.pos,
2086
2092
  x
2087
- ), c += g.length - 1, b.token === r && (c += x.length - 1), o = a.content, i = o.length, n.length = t;
2093
+ ), c += g.length - 1, b.token === r && (c += x.length - 1), a = o.content, i = a.length, n.length = t;
2088
2094
  continue u;
2089
2095
  }
2090
2096
  }
@@ -2093,7 +2099,7 @@ function Jn(u, e) {
2093
2099
  pos: f.index,
2094
2100
  single: m,
2095
2101
  level: l
2096
- }) : p && m && (a.content = Ru(a.content, f.index, Je));
2102
+ }) : p && m && (o.content = Ru(o.content, f.index, Je));
2097
2103
  }
2098
2104
  }
2099
2105
  }
@@ -2105,14 +2111,14 @@ function Wn(u) {
2105
2111
  function Qn(u) {
2106
2112
  let e, t;
2107
2113
  const n = u.tokens, r = n.length;
2108
- for (let a = 0; a < r; a++) {
2109
- if (n[a].type !== "inline")
2114
+ for (let o = 0; o < r; o++) {
2115
+ if (n[o].type !== "inline")
2110
2116
  continue;
2111
- const l = n[a].children, o = l.length;
2112
- for (e = 0; e < o; e++)
2117
+ const l = n[o].children, a = l.length;
2118
+ for (e = 0; e < a; e++)
2113
2119
  l[e].type === "text_special" && (l[e].type = "text");
2114
- for (e = t = 0; e < o; e++)
2115
- l[e].type === "text" && e + 1 < o && l[e + 1].type === "text" ? l[e + 1].content = l[e].content + l[e + 1].content : (e !== t && (l[t] = l[e]), t++);
2120
+ for (e = t = 0; e < a; e++)
2121
+ l[e].type === "text" && e + 1 < a && l[e + 1].type === "text" ? l[e + 1].content = l[e].content + l[e + 1].content : (e !== t && (l[t] = l[e]), t++);
2116
2122
  e !== t && (l.length = t);
2117
2123
  }
2118
2124
  }
@@ -2141,20 +2147,20 @@ we.prototype.State = $0;
2141
2147
  function du(u, e, t, n) {
2142
2148
  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;
2143
2149
  const r = this.src;
2144
- for (let a = 0, l = 0, o = 0, c = 0, i = r.length, f = !1; l < i; l++) {
2150
+ for (let o = 0, l = 0, a = 0, c = 0, i = r.length, f = !1; l < i; l++) {
2145
2151
  const s = r.charCodeAt(l);
2146
2152
  if (!f)
2147
2153
  if (j(s)) {
2148
- o++, s === 9 ? c += 4 - c % 4 : c++;
2154
+ a++, s === 9 ? c += 4 - c % 4 : c++;
2149
2155
  continue;
2150
2156
  } else
2151
2157
  f = !0;
2152
- (s === 10 || l === i - 1) && (s !== 10 && l++, this.bMarks.push(a), this.eMarks.push(l), this.tShift.push(o), this.sCount.push(c), this.bsCount.push(0), f = !1, o = 0, c = 0, a = l + 1);
2158
+ (s === 10 || l === i - 1) && (s !== 10 && l++, this.bMarks.push(o), this.eMarks.push(l), this.tShift.push(a), this.sCount.push(c), this.bsCount.push(0), f = !1, a = 0, c = 0, o = l + 1);
2153
2159
  }
2154
2160
  this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
2155
2161
  }
2156
2162
  du.prototype.push = function(u, e, t) {
2157
- const n = new ou(u, e, t);
2163
+ const n = new au(u, e, t);
2158
2164
  return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
2159
2165
  };
2160
2166
  du.prototype.isEmpty = function(e) {
@@ -2197,26 +2203,26 @@ du.prototype.skipCharsBack = function(e, t, n) {
2197
2203
  du.prototype.getLines = function(e, t, n, r) {
2198
2204
  if (e >= t)
2199
2205
  return "";
2200
- const a = new Array(t - e);
2201
- for (let l = 0, o = e; o < t; o++, l++) {
2206
+ const o = new Array(t - e);
2207
+ for (let l = 0, a = e; a < t; a++, l++) {
2202
2208
  let c = 0;
2203
- const i = this.bMarks[o];
2209
+ const i = this.bMarks[a];
2204
2210
  let f = i, s;
2205
- for (o + 1 < t || r ? s = this.eMarks[o] + 1 : s = this.eMarks[o]; f < s && c < n; ) {
2211
+ for (a + 1 < t || r ? s = this.eMarks[a] + 1 : s = this.eMarks[a]; f < s && c < n; ) {
2206
2212
  const p = this.src.charCodeAt(f);
2207
2213
  if (j(p))
2208
- p === 9 ? c += 4 - (c + this.bsCount[o]) % 4 : c++;
2209
- else if (f - i < this.tShift[o])
2214
+ p === 9 ? c += 4 - (c + this.bsCount[a]) % 4 : c++;
2215
+ else if (f - i < this.tShift[a])
2210
2216
  c++;
2211
2217
  else
2212
2218
  break;
2213
2219
  f++;
2214
2220
  }
2215
- c > n ? a[l] = new Array(c - n + 1).join(" ") + this.src.slice(f, s) : a[l] = this.src.slice(f, s);
2221
+ c > n ? o[l] = new Array(c - n + 1).join(" ") + this.src.slice(f, s) : o[l] = this.src.slice(f, s);
2216
2222
  }
2217
- return a.join("");
2223
+ return o.join("");
2218
2224
  };
2219
- du.prototype.Token = ou;
2225
+ du.prototype.Token = au;
2220
2226
  const Yn = 65536;
2221
2227
  function te(u, e) {
2222
2228
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
@@ -2224,10 +2230,10 @@ function te(u, e) {
2224
2230
  }
2225
2231
  function We(u) {
2226
2232
  const e = [], t = u.length;
2227
- let n = 0, r = u.charCodeAt(n), a = !1, l = 0, o = "";
2233
+ let n = 0, r = u.charCodeAt(n), o = !1, l = 0, a = "";
2228
2234
  for (; n < t; )
2229
- r === 124 && (a ? (o += u.substring(l, n - 1), l = n) : (e.push(o + u.substring(l, n)), o = "", l = n + 1)), a = r === 92, n++, r = u.charCodeAt(n);
2230
- return e.push(o + u.substring(l)), e;
2235
+ r === 124 && (o ? (a += u.substring(l, n - 1), l = n) : (e.push(a + u.substring(l, n)), a = "", l = n + 1)), o = r === 92, n++, r = u.charCodeAt(n);
2236
+ return e.push(a + u.substring(l)), e;
2231
2237
  }
2232
2238
  function Kn(u, e, t, n) {
2233
2239
  if (e + 2 > t)
@@ -2235,20 +2241,20 @@ function Kn(u, e, t, n) {
2235
2241
  let r = e + 1;
2236
2242
  if (u.sCount[r] < u.blkIndent || u.sCount[r] - u.blkIndent >= 4)
2237
2243
  return !1;
2238
- let a = u.bMarks[r] + u.tShift[r];
2239
- if (a >= u.eMarks[r])
2244
+ let o = u.bMarks[r] + u.tShift[r];
2245
+ if (o >= u.eMarks[r])
2240
2246
  return !1;
2241
- const l = u.src.charCodeAt(a++);
2242
- if (l !== 124 && l !== 45 && l !== 58 || a >= u.eMarks[r])
2247
+ const l = u.src.charCodeAt(o++);
2248
+ if (l !== 124 && l !== 45 && l !== 58 || o >= u.eMarks[r])
2243
2249
  return !1;
2244
- const o = u.src.charCodeAt(a++);
2245
- if (o !== 124 && o !== 45 && o !== 58 && !j(o) || l === 45 && j(o))
2250
+ const a = u.src.charCodeAt(o++);
2251
+ if (a !== 124 && a !== 45 && a !== 58 && !j(a) || l === 45 && j(a))
2246
2252
  return !1;
2247
- for (; a < u.eMarks[r]; ) {
2248
- const b = u.src.charCodeAt(a);
2253
+ for (; o < u.eMarks[r]; ) {
2254
+ const b = u.src.charCodeAt(o);
2249
2255
  if (b !== 124 && b !== 45 && b !== 58 && !j(b))
2250
2256
  return !1;
2251
- a++;
2257
+ o++;
2252
2258
  }
2253
2259
  let c = te(u, e + 1), i = c.split("|");
2254
2260
  const f = [];
@@ -2328,30 +2334,30 @@ function Xn(u, e, t) {
2328
2334
  break;
2329
2335
  }
2330
2336
  u.line = r;
2331
- const a = u.push("code_block", "code", 0);
2332
- return a.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
2333
- `, a.map = [e, u.line], !0;
2337
+ const o = u.push("code_block", "code", 0);
2338
+ return o.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
2339
+ `, o.map = [e, u.line], !0;
2334
2340
  }
2335
2341
  function ur(u, e, t, n) {
2336
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2337
- if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > a)
2342
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2343
+ if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > o)
2338
2344
  return !1;
2339
2345
  const l = u.src.charCodeAt(r);
2340
2346
  if (l !== 126 && l !== 96)
2341
2347
  return !1;
2342
- let o = r;
2348
+ let a = r;
2343
2349
  r = u.skipChars(r, l);
2344
- let c = r - o;
2350
+ let c = r - a;
2345
2351
  if (c < 3)
2346
2352
  return !1;
2347
- const i = u.src.slice(o, r), f = u.src.slice(r, a);
2353
+ const i = u.src.slice(a, r), f = u.src.slice(r, o);
2348
2354
  if (l === 96 && f.indexOf(String.fromCharCode(l)) >= 0)
2349
2355
  return !1;
2350
2356
  if (n)
2351
2357
  return !0;
2352
2358
  let s = e, p = !1;
2353
- for (; s++, !(s >= t || (r = o = u.bMarks[s] + u.tShift[s], a = u.eMarks[s], r < a && u.sCount[s] < u.blkIndent)); )
2354
- if (u.src.charCodeAt(r) === l && !(u.sCount[s] - u.blkIndent >= 4) && (r = u.skipChars(r, l), !(r - o < c) && (r = u.skipSpaces(r), !(r < a)))) {
2359
+ for (; s++, !(s >= t || (r = a = u.bMarks[s] + u.tShift[s], o = u.eMarks[s], r < o && u.sCount[s] < u.blkIndent)); )
2360
+ if (u.src.charCodeAt(r) === l && !(u.sCount[s] - u.blkIndent >= 4) && (r = u.skipChars(r, l), !(r - a < c) && (r = u.skipSpaces(r), !(r < o)))) {
2355
2361
  p = !0;
2356
2362
  break;
2357
2363
  }
@@ -2360,24 +2366,24 @@ function ur(u, e, t, n) {
2360
2366
  return m.info = f, m.content = u.getLines(e + 1, s, c, !0), m.markup = i, m.map = [e, u.line], !0;
2361
2367
  }
2362
2368
  function er(u, e, t, n) {
2363
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2369
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2364
2370
  const l = u.lineMax;
2365
2371
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
2366
2372
  return !1;
2367
2373
  if (n)
2368
2374
  return !0;
2369
- const o = [], c = [], i = [], f = [], s = u.md.block.ruler.getRules("blockquote"), p = u.parentType;
2375
+ const a = [], c = [], i = [], f = [], s = u.md.block.ruler.getRules("blockquote"), p = u.parentType;
2370
2376
  u.parentType = "blockquote";
2371
2377
  let m = !1, d;
2372
2378
  for (d = e; d < t; d++) {
2373
2379
  const k = u.sCount[d] < u.blkIndent;
2374
- if (r = u.bMarks[d] + u.tShift[d], a = u.eMarks[d], r >= a)
2380
+ if (r = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r >= o)
2375
2381
  break;
2376
2382
  if (u.src.charCodeAt(r++) === 62 && !k) {
2377
2383
  let x = u.sCount[d] + 1, g, _;
2378
2384
  u.src.charCodeAt(r) === 32 ? (r++, x++, _ = !1, g = !0) : u.src.charCodeAt(r) === 9 ? (g = !0, (u.bsCount[d] + x) % 4 === 3 ? (r++, x++, _ = !1) : _ = !0) : g = !1;
2379
2385
  let I = x;
2380
- for (o.push(u.bMarks[d]), u.bMarks[d] = r; r < a; ) {
2386
+ for (a.push(u.bMarks[d]), u.bMarks[d] = r; r < o; ) {
2381
2387
  const v = u.src.charCodeAt(r);
2382
2388
  if (j(v))
2383
2389
  v === 9 ? I += 4 - (I + u.bsCount[d] + (_ ? 1 : 0)) % 4 : I++;
@@ -2385,7 +2391,7 @@ function er(u, e, t, n) {
2385
2391
  break;
2386
2392
  r++;
2387
2393
  }
2388
- m = r >= a, c.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (g ? 1 : 0), i.push(u.sCount[d]), u.sCount[d] = I - x, f.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
2394
+ m = r >= o, c.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (g ? 1 : 0), i.push(u.sCount[d]), u.sCount[d] = I - x, f.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
2389
2395
  continue;
2390
2396
  }
2391
2397
  if (m)
@@ -2397,10 +2403,10 @@ function er(u, e, t, n) {
2397
2403
  break;
2398
2404
  }
2399
2405
  if (b) {
2400
- u.lineMax = d, u.blkIndent !== 0 && (o.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
2406
+ u.lineMax = d, u.blkIndent !== 0 && (a.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
2401
2407
  break;
2402
2408
  }
2403
- o.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] = -1;
2409
+ a.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] = -1;
2404
2410
  }
2405
2411
  const w = u.blkIndent;
2406
2412
  u.blkIndent = 0;
@@ -2411,31 +2417,31 @@ function er(u, e, t, n) {
2411
2417
  const h = u.push("blockquote_close", "blockquote", -1);
2412
2418
  h.markup = ">", u.lineMax = l, u.parentType = p, A[1] = u.line;
2413
2419
  for (let k = 0; k < f.length; k++)
2414
- u.bMarks[k + e] = o[k], u.tShift[k + e] = f[k], u.sCount[k + e] = i[k], u.bsCount[k + e] = c[k];
2420
+ u.bMarks[k + e] = a[k], u.tShift[k + e] = f[k], u.sCount[k + e] = i[k], u.bsCount[k + e] = c[k];
2415
2421
  return u.blkIndent = w, !0;
2416
2422
  }
2417
2423
  function tr(u, e, t, n) {
2418
2424
  const r = u.eMarks[e];
2419
2425
  if (u.sCount[e] - u.blkIndent >= 4)
2420
2426
  return !1;
2421
- let a = u.bMarks[e] + u.tShift[e];
2422
- const l = u.src.charCodeAt(a++);
2427
+ let o = u.bMarks[e] + u.tShift[e];
2428
+ const l = u.src.charCodeAt(o++);
2423
2429
  if (l !== 42 && l !== 45 && l !== 95)
2424
2430
  return !1;
2425
- let o = 1;
2426
- for (; a < r; ) {
2427
- const i = u.src.charCodeAt(a++);
2431
+ let a = 1;
2432
+ for (; o < r; ) {
2433
+ const i = u.src.charCodeAt(o++);
2428
2434
  if (i !== l && !j(i))
2429
2435
  return !1;
2430
- i === l && o++;
2436
+ i === l && a++;
2431
2437
  }
2432
- if (o < 3)
2438
+ if (a < 3)
2433
2439
  return !1;
2434
2440
  if (n)
2435
2441
  return !0;
2436
2442
  u.line = e + 1;
2437
2443
  const c = u.push("hr", "hr", 0);
2438
- return c.map = [e, u.line], c.markup = Array(o + 1).join(String.fromCharCode(l)), !0;
2444
+ return c.map = [e, u.line], c.markup = Array(a + 1).join(String.fromCharCode(l)), !0;
2439
2445
  }
2440
2446
  function Qe(u, e) {
2441
2447
  const t = u.eMarks[e];
@@ -2444,8 +2450,8 @@ function Qe(u, e) {
2444
2450
  if (r !== 42 && r !== 45 && r !== 43)
2445
2451
  return -1;
2446
2452
  if (n < t) {
2447
- const a = u.src.charCodeAt(n);
2448
- if (!j(a))
2453
+ const o = u.src.charCodeAt(n);
2454
+ if (!j(o))
2449
2455
  return -1;
2450
2456
  }
2451
2457
  return n;
@@ -2455,22 +2461,22 @@ function Ye(u, e) {
2455
2461
  let r = t;
2456
2462
  if (r + 1 >= n)
2457
2463
  return -1;
2458
- let a = u.src.charCodeAt(r++);
2459
- if (a < 48 || a > 57)
2464
+ let o = u.src.charCodeAt(r++);
2465
+ if (o < 48 || o > 57)
2460
2466
  return -1;
2461
2467
  for (; ; ) {
2462
2468
  if (r >= n)
2463
2469
  return -1;
2464
- if (a = u.src.charCodeAt(r++), a >= 48 && a <= 57) {
2470
+ if (o = u.src.charCodeAt(r++), o >= 48 && o <= 57) {
2465
2471
  if (r - t >= 10)
2466
2472
  return -1;
2467
2473
  continue;
2468
2474
  }
2469
- if (a === 41 || a === 46)
2475
+ if (o === 41 || o === 46)
2470
2476
  break;
2471
2477
  return -1;
2472
2478
  }
2473
- return r < n && (a = u.src.charCodeAt(r), !j(a)) ? -1 : r;
2479
+ return r < n && (o = u.src.charCodeAt(r), !j(o)) ? -1 : r;
2474
2480
  }
2475
2481
  function nr(u, e) {
2476
2482
  const t = u.level + 2;
@@ -2478,7 +2484,7 @@ function nr(u, e) {
2478
2484
  u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
2479
2485
  }
2480
2486
  function rr(u, e, t, n) {
2481
- let r, a, l, o, c = e, i = !0;
2487
+ let r, o, l, a, c = e, i = !0;
2482
2488
  if (u.sCount[c] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[c] - u.listIndent >= 4 && u.sCount[c] < u.blkIndent)
2483
2489
  return !1;
2484
2490
  let f = !1;
@@ -2496,34 +2502,34 @@ function rr(u, e, t, n) {
2496
2502
  if (n)
2497
2503
  return !0;
2498
2504
  const d = u.src.charCodeAt(m - 1), w = u.tokens.length;
2499
- s ? (o = u.push("ordered_list_open", "ol", 1), p !== 1 && (o.attrs = [["start", p]])) : o = u.push("bullet_list_open", "ul", 1);
2505
+ s ? (a = u.push("ordered_list_open", "ol", 1), p !== 1 && (a.attrs = [["start", p]])) : a = u.push("bullet_list_open", "ul", 1);
2500
2506
  const $ = [c, 0];
2501
- o.map = $, o.markup = String.fromCharCode(d);
2507
+ a.map = $, a.markup = String.fromCharCode(d);
2502
2508
  let A = !1;
2503
2509
  const h = u.md.block.ruler.getRules("list"), k = u.parentType;
2504
2510
  for (u.parentType = "list"; c < t; ) {
2505
- a = m, r = u.eMarks[c];
2511
+ o = m, r = u.eMarks[c];
2506
2512
  const b = u.sCount[c] + m - (u.bMarks[c] + u.tShift[c]);
2507
2513
  let x = b;
2508
- for (; a < r; ) {
2509
- const N = u.src.charCodeAt(a);
2514
+ for (; o < r; ) {
2515
+ const N = u.src.charCodeAt(o);
2510
2516
  if (N === 9)
2511
2517
  x += 4 - (x + u.bsCount[c]) % 4;
2512
2518
  else if (N === 32)
2513
2519
  x++;
2514
2520
  else
2515
2521
  break;
2516
- a++;
2522
+ o++;
2517
2523
  }
2518
- const g = a;
2524
+ const g = o;
2519
2525
  let _;
2520
2526
  g >= r ? _ = 1 : _ = x - b, _ > 4 && (_ = 1);
2521
2527
  const I = b + _;
2522
- o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(d);
2528
+ a = u.push("list_item_open", "li", 1), a.markup = String.fromCharCode(d);
2523
2529
  const v = [c, 0];
2524
- o.map = v, s && (o.info = u.src.slice(l, m - 1));
2530
+ a.map = v, s && (a.info = u.src.slice(l, m - 1));
2525
2531
  const T = u.tight, F = u.tShift[c], q = u.sCount[c], B = u.listIndent;
2526
- if (u.listIndent = u.blkIndent, u.blkIndent = I, u.tight = !0, u.tShift[c] = g - u.bMarks[c], u.sCount[c] = x, g >= r && u.isEmpty(c + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, c, t, !0), (!u.tight || A) && (i = !1), A = u.line - c > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = B, u.tShift[c] = F, u.sCount[c] = q, u.tight = T, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), c = u.line, v[1] = c, c >= t || u.sCount[c] < u.blkIndent || u.sCount[c] - u.blkIndent >= 4)
2532
+ if (u.listIndent = u.blkIndent, u.blkIndent = I, u.tight = !0, u.tShift[c] = g - u.bMarks[c], u.sCount[c] = x, g >= r && u.isEmpty(c + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, c, t, !0), (!u.tight || A) && (i = !1), A = u.line - c > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = B, u.tShift[c] = F, u.sCount[c] = q, u.tight = T, a = u.push("list_item_close", "li", -1), a.markup = String.fromCharCode(d), c = u.line, v[1] = c, c >= t || u.sCount[c] < u.blkIndent || u.sCount[c] - u.blkIndent >= 4)
2527
2533
  break;
2528
2534
  let C = !1;
2529
2535
  for (let N = 0, H = h.length; N < H; N++)
@@ -2542,13 +2548,13 @@ function rr(u, e, t, n) {
2542
2548
  if (d !== u.src.charCodeAt(m - 1))
2543
2549
  break;
2544
2550
  }
2545
- return s ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), $[1] = c, u.line = c, u.parentType = k, i && nr(u, w), !0;
2551
+ return s ? a = u.push("ordered_list_close", "ol", -1) : a = u.push("bullet_list_close", "ul", -1), a.markup = String.fromCharCode(d), $[1] = c, u.line = c, u.parentType = k, i && nr(u, w), !0;
2546
2552
  }
2547
- function ar(u, e, t, n) {
2548
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e], l = e + 1;
2553
+ function or(u, e, t, n) {
2554
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], l = e + 1;
2549
2555
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
2550
2556
  return !1;
2551
- function o(h) {
2557
+ function a(h) {
2552
2558
  const k = u.lineMax;
2553
2559
  if (h >= k || u.isEmpty(h))
2554
2560
  return null;
@@ -2568,10 +2574,10 @@ function ar(u, e, t, n) {
2568
2574
  const x = u.bMarks[h] + u.tShift[h], g = u.eMarks[h];
2569
2575
  return u.src.slice(x, g + 1);
2570
2576
  }
2571
- let c = u.src.slice(r, a + 1);
2572
- a = c.length;
2577
+ let c = u.src.slice(r, o + 1);
2578
+ o = c.length;
2573
2579
  let i = -1;
2574
- for (r = 1; r < a; r++) {
2580
+ for (r = 1; r < o; r++) {
2575
2581
  const h = c.charCodeAt(r);
2576
2582
  if (h === 91)
2577
2583
  return !1;
@@ -2579,24 +2585,24 @@ function ar(u, e, t, n) {
2579
2585
  i = r;
2580
2586
  break;
2581
2587
  } else if (h === 10) {
2582
- const k = o(l);
2583
- k !== null && (c += k, a = c.length, l++);
2584
- } else if (h === 92 && (r++, r < a && c.charCodeAt(r) === 10)) {
2585
- const k = o(l);
2586
- k !== null && (c += k, a = c.length, l++);
2588
+ const k = a(l);
2589
+ k !== null && (c += k, o = c.length, l++);
2590
+ } else if (h === 92 && (r++, r < o && c.charCodeAt(r) === 10)) {
2591
+ const k = a(l);
2592
+ k !== null && (c += k, o = c.length, l++);
2587
2593
  }
2588
2594
  }
2589
2595
  if (i < 0 || c.charCodeAt(i + 1) !== 58)
2590
2596
  return !1;
2591
- for (r = i + 2; r < a; r++) {
2597
+ for (r = i + 2; r < o; r++) {
2592
2598
  const h = c.charCodeAt(r);
2593
2599
  if (h === 10) {
2594
- const k = o(l);
2595
- k !== null && (c += k, a = c.length, l++);
2600
+ const k = a(l);
2601
+ k !== null && (c += k, o = c.length, l++);
2596
2602
  } else if (!j(h))
2597
2603
  break;
2598
2604
  }
2599
- const f = u.md.helpers.parseLinkDestination(c, r, a);
2605
+ const f = u.md.helpers.parseLinkDestination(c, r, o);
2600
2606
  if (!f.ok)
2601
2607
  return !1;
2602
2608
  const s = u.md.normalizeLink(f.str);
@@ -2604,41 +2610,41 @@ function ar(u, e, t, n) {
2604
2610
  return !1;
2605
2611
  r = f.pos;
2606
2612
  const p = r, m = l, d = r;
2607
- for (; r < a; r++) {
2613
+ for (; r < o; r++) {
2608
2614
  const h = c.charCodeAt(r);
2609
2615
  if (h === 10) {
2610
- const k = o(l);
2611
- k !== null && (c += k, a = c.length, l++);
2616
+ const k = a(l);
2617
+ k !== null && (c += k, o = c.length, l++);
2612
2618
  } else if (!j(h))
2613
2619
  break;
2614
2620
  }
2615
- let w = u.md.helpers.parseLinkTitle(c, r, a);
2621
+ let w = u.md.helpers.parseLinkTitle(c, r, o);
2616
2622
  for (; w.can_continue; ) {
2617
- const h = o(l);
2623
+ const h = a(l);
2618
2624
  if (h === null)
2619
2625
  break;
2620
- c += h, r = a, a = c.length, l++, w = u.md.helpers.parseLinkTitle(c, r, a, w);
2626
+ c += h, r = o, o = c.length, l++, w = u.md.helpers.parseLinkTitle(c, r, o, w);
2621
2627
  }
2622
2628
  let $;
2623
- for (r < a && d !== r && w.ok ? ($ = w.str, r = w.pos) : ($ = "", r = p, l = m); r < a; ) {
2629
+ for (r < o && d !== r && w.ok ? ($ = w.str, r = w.pos) : ($ = "", r = p, l = m); r < o; ) {
2624
2630
  const h = c.charCodeAt(r);
2625
2631
  if (!j(h))
2626
2632
  break;
2627
2633
  r++;
2628
2634
  }
2629
- if (r < a && c.charCodeAt(r) !== 10 && $)
2630
- for ($ = "", r = p, l = m; r < a; ) {
2635
+ if (r < o && c.charCodeAt(r) !== 10 && $)
2636
+ for ($ = "", r = p, l = m; r < o; ) {
2631
2637
  const h = c.charCodeAt(r);
2632
2638
  if (!j(h))
2633
2639
  break;
2634
2640
  r++;
2635
2641
  }
2636
- if (r < a && c.charCodeAt(r) !== 10)
2642
+ if (r < o && c.charCodeAt(r) !== 10)
2637
2643
  return !1;
2638
2644
  const A = Gu(c.slice(1, i));
2639
2645
  return A ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[A] > "u" && (u.env.references[A] = { title: $, href: s }), u.line = l), !0) : !1;
2640
2646
  }
2641
- const or = [
2647
+ const ar = [
2642
2648
  "address",
2643
2649
  "article",
2644
2650
  "aside",
@@ -2707,24 +2713,24 @@ const or = [
2707
2713
  [/^<\?/, /\?>/, !0],
2708
2714
  [/^<![A-Z]/, />/, !0],
2709
2715
  [/^<!\[CDATA\[/, /\]\]>/, !0],
2710
- [new RegExp("^</?(" + or.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2716
+ [new RegExp("^</?(" + ar.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2711
2717
  [new RegExp(_r.source + "\\s*$"), /^$/, !1]
2712
2718
  ];
2713
2719
  function gr(u, e, t, n) {
2714
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2720
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2715
2721
  if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
2716
2722
  return !1;
2717
- let l = u.src.slice(r, a), o = 0;
2718
- for (; o < ku.length && !ku[o][0].test(l); o++)
2723
+ let l = u.src.slice(r, o), a = 0;
2724
+ for (; a < ku.length && !ku[a][0].test(l); a++)
2719
2725
  ;
2720
- if (o === ku.length)
2726
+ if (a === ku.length)
2721
2727
  return !1;
2722
2728
  if (n)
2723
- return ku[o][2];
2729
+ return ku[a][2];
2724
2730
  let c = e + 1;
2725
- if (!ku[o][1].test(l)) {
2731
+ if (!ku[a][1].test(l)) {
2726
2732
  for (; c < t && !(u.sCount[c] < u.blkIndent); c++)
2727
- if (r = u.bMarks[c] + u.tShift[c], a = u.eMarks[c], l = u.src.slice(r, a), ku[o][1].test(l)) {
2733
+ if (r = u.bMarks[c] + u.tShift[c], o = u.eMarks[c], l = u.src.slice(r, o), ku[a][1].test(l)) {
2728
2734
  l.length !== 0 && c++;
2729
2735
  break;
2730
2736
  }
@@ -2734,28 +2740,28 @@ function gr(u, e, t, n) {
2734
2740
  return i.map = [e, c], i.content = u.getLines(e, c, u.blkIndent, !0), !0;
2735
2741
  }
2736
2742
  function kr(u, e, t, n) {
2737
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2743
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2738
2744
  if (u.sCount[e] - u.blkIndent >= 4)
2739
2745
  return !1;
2740
2746
  let l = u.src.charCodeAt(r);
2741
- if (l !== 35 || r >= a)
2747
+ if (l !== 35 || r >= o)
2742
2748
  return !1;
2743
- let o = 1;
2744
- for (l = u.src.charCodeAt(++r); l === 35 && r < a && o <= 6; )
2745
- o++, l = u.src.charCodeAt(++r);
2746
- if (o > 6 || r < a && !j(l))
2749
+ let a = 1;
2750
+ for (l = u.src.charCodeAt(++r); l === 35 && r < o && a <= 6; )
2751
+ a++, l = u.src.charCodeAt(++r);
2752
+ if (a > 6 || r < o && !j(l))
2747
2753
  return !1;
2748
2754
  if (n)
2749
2755
  return !0;
2750
- a = u.skipSpacesBack(a, r);
2751
- const c = u.skipCharsBack(a, 35, r);
2752
- c > r && j(u.src.charCodeAt(c - 1)) && (a = c), u.line = e + 1;
2753
- const i = u.push("heading_open", "h" + String(o), 1);
2754
- i.markup = "########".slice(0, o), i.map = [e, u.line];
2756
+ o = u.skipSpacesBack(o, r);
2757
+ const c = u.skipCharsBack(o, 35, r);
2758
+ c > r && j(u.src.charCodeAt(c - 1)) && (o = c), u.line = e + 1;
2759
+ const i = u.push("heading_open", "h" + String(a), 1);
2760
+ i.markup = "########".slice(0, a), i.map = [e, u.line];
2755
2761
  const f = u.push("inline", "", 0);
2756
- f.content = u.src.slice(r, a).trim(), f.map = [e, u.line], f.children = [];
2757
- const s = u.push("heading_close", "h" + String(o), -1);
2758
- return s.markup = "########".slice(0, o), !0;
2762
+ f.content = u.src.slice(r, o).trim(), f.map = [e, u.line], f.children = [];
2763
+ const s = u.push("heading_close", "h" + String(a), -1);
2764
+ return s.markup = "########".slice(0, a), !0;
2759
2765
  }
2760
2766
  function yr(u, e, t) {
2761
2767
  const n = u.md.block.ruler.getRules("paragraph");
@@ -2763,59 +2769,59 @@ function yr(u, e, t) {
2763
2769
  return !1;
2764
2770
  const r = u.parentType;
2765
2771
  u.parentType = "paragraph";
2766
- let a = 0, l, o = e + 1;
2767
- for (; o < t && !u.isEmpty(o); o++) {
2768
- if (u.sCount[o] - u.blkIndent > 3)
2772
+ let o = 0, l, a = e + 1;
2773
+ for (; a < t && !u.isEmpty(a); a++) {
2774
+ if (u.sCount[a] - u.blkIndent > 3)
2769
2775
  continue;
2770
- if (u.sCount[o] >= u.blkIndent) {
2771
- let m = u.bMarks[o] + u.tShift[o];
2772
- const d = u.eMarks[o];
2776
+ if (u.sCount[a] >= u.blkIndent) {
2777
+ let m = u.bMarks[a] + u.tShift[a];
2778
+ const d = u.eMarks[a];
2773
2779
  if (m < d && (l = u.src.charCodeAt(m), (l === 45 || l === 61) && (m = u.skipChars(m, l), m = u.skipSpaces(m), m >= d))) {
2774
- a = l === 61 ? 1 : 2;
2780
+ o = l === 61 ? 1 : 2;
2775
2781
  break;
2776
2782
  }
2777
2783
  }
2778
- if (u.sCount[o] < 0)
2784
+ if (u.sCount[a] < 0)
2779
2785
  continue;
2780
2786
  let p = !1;
2781
2787
  for (let m = 0, d = n.length; m < d; m++)
2782
- if (n[m](u, o, t, !0)) {
2788
+ if (n[m](u, a, t, !0)) {
2783
2789
  p = !0;
2784
2790
  break;
2785
2791
  }
2786
2792
  if (p)
2787
2793
  break;
2788
2794
  }
2789
- if (!a)
2795
+ if (!o)
2790
2796
  return !1;
2791
- const c = u.getLines(e, o, u.blkIndent, !1).trim();
2792
- u.line = o + 1;
2793
- const i = u.push("heading_open", "h" + String(a), 1);
2797
+ const c = u.getLines(e, a, u.blkIndent, !1).trim();
2798
+ u.line = a + 1;
2799
+ const i = u.push("heading_open", "h" + String(o), 1);
2794
2800
  i.markup = String.fromCharCode(l), i.map = [e, u.line];
2795
2801
  const f = u.push("inline", "", 0);
2796
2802
  f.content = c, f.map = [e, u.line - 1], f.children = [];
2797
- const s = u.push("heading_close", "h" + String(a), -1);
2803
+ const s = u.push("heading_close", "h" + String(o), -1);
2798
2804
  return s.markup = String.fromCharCode(l), u.parentType = r, !0;
2799
2805
  }
2800
2806
  function vr(u, e, t) {
2801
2807
  const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
2802
- let a = e + 1;
2803
- for (u.parentType = "paragraph"; a < t && !u.isEmpty(a); a++) {
2804
- if (u.sCount[a] - u.blkIndent > 3 || u.sCount[a] < 0)
2808
+ let o = e + 1;
2809
+ for (u.parentType = "paragraph"; o < t && !u.isEmpty(o); o++) {
2810
+ if (u.sCount[o] - u.blkIndent > 3 || u.sCount[o] < 0)
2805
2811
  continue;
2806
2812
  let i = !1;
2807
2813
  for (let f = 0, s = n.length; f < s; f++)
2808
- if (n[f](u, a, t, !0)) {
2814
+ if (n[f](u, o, t, !0)) {
2809
2815
  i = !0;
2810
2816
  break;
2811
2817
  }
2812
2818
  if (i)
2813
2819
  break;
2814
2820
  }
2815
- const l = u.getLines(e, a, u.blkIndent, !1).trim();
2816
- u.line = a;
2817
- const o = u.push("paragraph_open", "p", 1);
2818
- o.map = [e, u.line];
2821
+ const l = u.getLines(e, o, u.blkIndent, !1).trim();
2822
+ u.line = o;
2823
+ const a = u.push("paragraph_open", "p", 1);
2824
+ a.map = [e, u.line];
2819
2825
  const c = u.push("inline", "", 0);
2820
2826
  return c.content = l, c.map = [e, u.line], c.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
2821
2827
  }
@@ -2828,7 +2834,7 @@ const Mu = [
2828
2834
  ["blockquote", er, ["paragraph", "reference", "blockquote", "list"]],
2829
2835
  ["hr", tr, ["paragraph", "reference", "blockquote", "list"]],
2830
2836
  ["list", rr, ["paragraph", "reference", "blockquote"]],
2831
- ["reference", ar],
2837
+ ["reference", or],
2832
2838
  ["html_block", gr, ["paragraph", "reference", "blockquote"]],
2833
2839
  ["heading", kr, ["paragraph", "reference", "blockquote"]],
2834
2840
  ["lheading", yr],
@@ -2840,10 +2846,10 @@ function Ju() {
2840
2846
  this.ruler.push(Mu[u][0], Mu[u][1], { alt: (Mu[u][2] || []).slice() });
2841
2847
  }
2842
2848
  Ju.prototype.tokenize = function(u, e, t) {
2843
- const n = this.ruler.getRules(""), r = n.length, a = u.md.options.maxNesting;
2844
- let l = e, o = !1;
2849
+ const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
2850
+ let l = e, a = !1;
2845
2851
  for (; l < t && (u.line = l = u.skipEmptyLines(l), !(l >= t || u.sCount[l] < u.blkIndent)); ) {
2846
- if (u.level >= a) {
2852
+ if (u.level >= o) {
2847
2853
  u.line = t;
2848
2854
  break;
2849
2855
  }
@@ -2857,7 +2863,7 @@ Ju.prototype.tokenize = function(u, e, t) {
2857
2863
  }
2858
2864
  if (!i)
2859
2865
  throw new Error("none of the block rules matched");
2860
- u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), l = u.line, l < t && u.isEmpty(l) && (o = !0, l++, u.line = l);
2866
+ u.tight = !a, u.isEmpty(u.line - 1) && (a = !0), l = u.line, l < t && u.isEmpty(l) && (a = !0, l++, u.line = l);
2861
2867
  }
2862
2868
  };
2863
2869
  Ju.prototype.parse = function(u, e, t, n) {
@@ -2871,24 +2877,24 @@ function Vu(u, e, t, n) {
2871
2877
  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;
2872
2878
  }
2873
2879
  Vu.prototype.pushPending = function() {
2874
- const u = new ou("text", "", 0);
2880
+ const u = new au("text", "", 0);
2875
2881
  return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
2876
2882
  };
2877
2883
  Vu.prototype.push = function(u, e, t) {
2878
2884
  this.pending && this.pushPending();
2879
- const n = new ou(u, e, t);
2885
+ const n = new au(u, e, t);
2880
2886
  let r = null;
2881
2887
  return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
2882
2888
  };
2883
2889
  Vu.prototype.scanDelims = function(u, e) {
2884
2890
  const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
2885
- let a = u;
2886
- for (; a < t && this.src.charCodeAt(a) === n; )
2887
- a++;
2888
- const l = a - u, o = a < t ? this.src.charCodeAt(a) : 32, c = Su(r) || Tu(String.fromCharCode(r)), i = Su(o) || Tu(String.fromCharCode(o)), f = wu(r), s = wu(o), p = !s && (!i || f || c), m = !f && (!c || s || i);
2891
+ let o = u;
2892
+ for (; o < t && this.src.charCodeAt(o) === n; )
2893
+ o++;
2894
+ const l = o - u, a = o < t ? this.src.charCodeAt(o) : 32, c = Su(r) || Tu(String.fromCharCode(r)), i = Su(a) || Tu(String.fromCharCode(a)), f = wu(r), s = wu(a), p = !s && (!i || f || c), m = !f && (!c || s || i);
2889
2895
  return { can_open: p && (e || !m || c), can_close: m && (e || !p || i), length: l };
2890
2896
  };
2891
- Vu.prototype.Token = ou;
2897
+ Vu.prototype.Token = au;
2892
2898
  function Cr(u) {
2893
2899
  switch (u) {
2894
2900
  case 10:
@@ -2935,26 +2941,26 @@ function Fr(u, e) {
2935
2941
  const r = u.pending.match(Dr);
2936
2942
  if (!r)
2937
2943
  return !1;
2938
- const a = r[1], l = u.md.linkify.matchAtStart(u.src.slice(t - a.length));
2944
+ const o = r[1], l = u.md.linkify.matchAtStart(u.src.slice(t - o.length));
2939
2945
  if (!l)
2940
2946
  return !1;
2941
- let o = l.url;
2942
- if (o.length <= a.length)
2947
+ let a = l.url;
2948
+ if (a.length <= o.length)
2943
2949
  return !1;
2944
- o = o.replace(/\*+$/, "");
2945
- const c = u.md.normalizeLink(o);
2950
+ a = a.replace(/\*+$/, "");
2951
+ const c = u.md.normalizeLink(a);
2946
2952
  if (!u.md.validateLink(c))
2947
2953
  return !1;
2948
2954
  if (!e) {
2949
- u.pending = u.pending.slice(0, -a.length);
2955
+ u.pending = u.pending.slice(0, -o.length);
2950
2956
  const i = u.push("link_open", "a", 1);
2951
2957
  i.attrs = [["href", c]], i.markup = "linkify", i.info = "auto";
2952
2958
  const f = u.push("text", "", 0);
2953
- f.content = u.md.normalizeLinkText(o);
2959
+ f.content = u.md.normalizeLinkText(a);
2954
2960
  const s = u.push("link_close", "a", -1);
2955
2961
  s.markup = "linkify", s.info = "auto";
2956
2962
  }
2957
- return u.pos += o.length - a.length, !0;
2963
+ return u.pos += a.length - o.length, !0;
2958
2964
  }
2959
2965
  function Ar(u, e) {
2960
2966
  let t = u.pos;
@@ -2964,10 +2970,10 @@ function Ar(u, e) {
2964
2970
  if (!e)
2965
2971
  if (n >= 0 && u.pending.charCodeAt(n) === 32)
2966
2972
  if (n >= 1 && u.pending.charCodeAt(n - 1) === 32) {
2967
- let a = n - 1;
2968
- for (; a >= 1 && u.pending.charCodeAt(a - 1) === 32; )
2969
- a--;
2970
- u.pending = u.pending.slice(0, a), u.push("hardbreak", "br", 0);
2973
+ let o = n - 1;
2974
+ for (; o >= 1 && u.pending.charCodeAt(o - 1) === 32; )
2975
+ o--;
2976
+ u.pending = u.pending.slice(0, o), u.push("hardbreak", "br", 0);
2971
2977
  } else
2972
2978
  u.pending = u.pending.slice(0, -1), u.push("softbreak", "br", 0);
2973
2979
  else
@@ -2993,15 +2999,15 @@ function wr(u, e) {
2993
2999
  t++;
2994
3000
  return u.pos = t, !0;
2995
3001
  }
2996
- let a = u.src[t];
3002
+ let o = u.src[t];
2997
3003
  if (r >= 55296 && r <= 56319 && t + 1 < n) {
2998
- const o = u.src.charCodeAt(t + 1);
2999
- o >= 56320 && o <= 57343 && (a += u.src[t + 1], t++);
3004
+ const a = u.src.charCodeAt(t + 1);
3005
+ a >= 56320 && a <= 57343 && (o += u.src[t + 1], t++);
3000
3006
  }
3001
- const l = "\\" + a;
3007
+ const l = "\\" + o;
3002
3008
  if (!e) {
3003
- const o = u.push("text_special", "", 0);
3004
- r < 256 && Te[r] !== 0 ? o.content = a : o.content = l, o.markup = l, o.info = "escape";
3009
+ const a = u.push("text_special", "", 0);
3010
+ r < 256 && Te[r] !== 0 ? a.content = o : a.content = l, a.markup = l, a.info = "escape";
3005
3011
  }
3006
3012
  return u.pos = t + 1, !0;
3007
3013
  }
@@ -3011,18 +3017,18 @@ function Tr(u, e) {
3011
3017
  return !1;
3012
3018
  const r = t;
3013
3019
  t++;
3014
- const a = u.posMax;
3015
- for (; t < a && u.src.charCodeAt(t) === 96; )
3020
+ const o = u.posMax;
3021
+ for (; t < o && u.src.charCodeAt(t) === 96; )
3016
3022
  t++;
3017
- const l = u.src.slice(r, t), o = l.length;
3018
- if (u.backticksScanned && (u.backticks[o] || 0) <= r)
3019
- return e || (u.pending += l), u.pos += o, !0;
3023
+ const l = u.src.slice(r, t), a = l.length;
3024
+ if (u.backticksScanned && (u.backticks[a] || 0) <= r)
3025
+ return e || (u.pending += l), u.pos += a, !0;
3020
3026
  let c = t, i;
3021
3027
  for (; (i = u.src.indexOf("`", c)) !== -1; ) {
3022
- for (c = i + 1; c < a && u.src.charCodeAt(c) === 96; )
3028
+ for (c = i + 1; c < o && u.src.charCodeAt(c) === 96; )
3023
3029
  c++;
3024
3030
  const f = c - i;
3025
- if (f === o) {
3031
+ if (f === a) {
3026
3032
  if (!e) {
3027
3033
  const s = u.push("code_inline", "code", 0);
3028
3034
  s.markup = l, s.content = u.src.slice(t, i).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
@@ -3031,21 +3037,21 @@ function Tr(u, e) {
3031
3037
  }
3032
3038
  u.backticks[f] = i;
3033
3039
  }
3034
- return u.backticksScanned = !0, e || (u.pending += l), u.pos += o, !0;
3040
+ return u.backticksScanned = !0, e || (u.pending += l), u.pos += a, !0;
3035
3041
  }
3036
3042
  function Sr(u, e) {
3037
3043
  const t = u.pos, n = u.src.charCodeAt(t);
3038
3044
  if (e || n !== 126)
3039
3045
  return !1;
3040
3046
  const r = u.scanDelims(u.pos, !0);
3041
- let a = r.length;
3047
+ let o = r.length;
3042
3048
  const l = String.fromCharCode(n);
3043
- if (a < 2)
3049
+ if (o < 2)
3044
3050
  return !1;
3045
- let o;
3046
- a % 2 && (o = u.push("text", "", 0), o.content = l, a--);
3047
- for (let c = 0; c < a; c += 2)
3048
- o = u.push("text", "", 0), o.content = l + l, u.delimiters.push({
3051
+ let a;
3052
+ o % 2 && (a = u.push("text", "", 0), a.content = l, o--);
3053
+ for (let c = 0; c < o; c += 2)
3054
+ a = u.push("text", "", 0), a.content = l + l, u.delimiters.push({
3049
3055
  marker: n,
3050
3056
  length: 0,
3051
3057
  // disable "rule of 3" length checks meant for emphasis
@@ -3059,19 +3065,19 @@ function Sr(u, e) {
3059
3065
  function Ke(u, e) {
3060
3066
  let t;
3061
3067
  const n = [], r = e.length;
3062
- for (let a = 0; a < r; a++) {
3063
- const l = e[a];
3068
+ for (let o = 0; o < r; o++) {
3069
+ const l = e[o];
3064
3070
  if (l.marker !== 126 || l.end === -1)
3065
3071
  continue;
3066
- const o = e[l.end];
3067
- t = u.tokens[l.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[o.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[o.token - 1].type === "text" && u.tokens[o.token - 1].content === "~" && n.push(o.token - 1);
3072
+ const a = e[l.end];
3073
+ t = u.tokens[l.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[a.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[a.token - 1].type === "text" && u.tokens[a.token - 1].content === "~" && n.push(a.token - 1);
3068
3074
  }
3069
3075
  for (; n.length; ) {
3070
- const a = n.pop();
3071
- let l = a + 1;
3076
+ const o = n.pop();
3077
+ let l = o + 1;
3072
3078
  for (; l < u.tokens.length && u.tokens[l].type === "s_close"; )
3073
3079
  l++;
3074
- l--, a !== l && (t = u.tokens[l], u.tokens[l] = u.tokens[a], u.tokens[a] = t);
3080
+ l--, o !== l && (t = u.tokens[l], u.tokens[l] = u.tokens[o], u.tokens[o] = t);
3075
3081
  }
3076
3082
  }
3077
3083
  function Ir(u) {
@@ -3089,7 +3095,7 @@ function Or(u, e) {
3089
3095
  if (e || n !== 95 && n !== 42)
3090
3096
  return !1;
3091
3097
  const r = u.scanDelims(u.pos, n === 42);
3092
- for (let a = 0; a < r.length; a++) {
3098
+ for (let o = 0; o < r.length; o++) {
3093
3099
  const l = u.push("text", "", 0);
3094
3100
  l.content = String.fromCharCode(n), u.delimiters.push({
3095
3101
  // Char code of the starting marker (number).
@@ -3120,12 +3126,12 @@ function Xe(u, e) {
3120
3126
  const r = e[n];
3121
3127
  if (r.marker !== 95 && r.marker !== 42 || r.end === -1)
3122
3128
  continue;
3123
- const a = e[r.end], l = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
3129
+ const o = e[r.end], l = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
3124
3130
  e[n - 1].marker === r.marker && e[n - 1].token === r.token - 1 && // check that last two markers are adjacent (we can safely assume they match)
3125
- e[r.end + 1].token === a.token + 1, o = String.fromCharCode(r.marker), c = u.tokens[r.token];
3126
- c.type = l ? "strong_open" : "em_open", c.tag = l ? "strong" : "em", c.nesting = 1, c.markup = l ? o + o : o, c.content = "";
3127
- const i = u.tokens[a.token];
3128
- i.type = l ? "strong_close" : "em_close", i.tag = l ? "strong" : "em", i.nesting = -1, i.markup = l ? o + o : o, i.content = "", l && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
3131
+ e[r.end + 1].token === o.token + 1, a = String.fromCharCode(r.marker), c = u.tokens[r.token];
3132
+ c.type = l ? "strong_open" : "em_open", c.tag = l ? "strong" : "em", c.nesting = 1, c.markup = l ? a + a : a, c.content = "";
3133
+ const i = u.tokens[o.token];
3134
+ i.type = l ? "strong_close" : "em_close", i.tag = l ? "strong" : "em", i.nesting = -1, i.markup = l ? a + a : a, i.content = "", l && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
3129
3135
  }
3130
3136
  }
3131
3137
  function Vr(u) {
@@ -3139,7 +3145,7 @@ const z0 = {
3139
3145
  postProcess: Vr
3140
3146
  };
3141
3147
  function $r(u, e) {
3142
- let t, n, r, a, l = "", o = "", c = u.pos, i = !0;
3148
+ let t, n, r, o, l = "", a = "", c = u.pos, i = !0;
3143
3149
  if (u.src.charCodeAt(u.pos) !== 91)
3144
3150
  return !1;
3145
3151
  const f = u.pos, s = u.posMax, p = u.pos + 1, m = u.md.helpers.parseLinkLabel(u, u.pos, !0);
@@ -3155,7 +3161,7 @@ function $r(u, e) {
3155
3161
  for (l = u.md.normalizeLink(r.str), u.md.validateLink(l) ? d = r.pos : l = "", c = d; d < s && (t = u.src.charCodeAt(d), !(!j(t) && t !== 10)); d++)
3156
3162
  ;
3157
3163
  if (r = u.md.helpers.parseLinkTitle(u.src, d, u.posMax), d < s && c !== d && r.ok)
3158
- for (o = r.str, d = r.pos; d < s && (t = u.src.charCodeAt(d), !(!j(t) && t !== 10)); d++)
3164
+ for (a = r.str, d = r.pos; d < s && (t = u.src.charCodeAt(d), !(!j(t) && t !== 10)); d++)
3159
3165
  ;
3160
3166
  }
3161
3167
  (d >= s || u.src.charCodeAt(d) !== 41) && (i = !0), d++;
@@ -3163,44 +3169,44 @@ function $r(u, e) {
3163
3169
  if (i) {
3164
3170
  if (typeof u.env.references > "u")
3165
3171
  return !1;
3166
- if (d < s && u.src.charCodeAt(d) === 91 ? (c = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(c, d++) : d = m + 1) : d = m + 1, n || (n = u.src.slice(p, m)), a = u.env.references[Gu(n)], !a)
3172
+ if (d < s && u.src.charCodeAt(d) === 91 ? (c = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(c, d++) : d = m + 1) : d = m + 1, n || (n = u.src.slice(p, m)), o = u.env.references[Gu(n)], !o)
3167
3173
  return u.pos = f, !1;
3168
- l = a.href, o = a.title;
3174
+ l = o.href, a = o.title;
3169
3175
  }
3170
3176
  if (!e) {
3171
3177
  u.pos = p, u.posMax = m;
3172
3178
  const w = u.push("link_open", "a", 1), $ = [["href", l]];
3173
- w.attrs = $, o && $.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
3179
+ w.attrs = $, a && $.push(["title", a]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
3174
3180
  }
3175
3181
  return u.pos = d, u.posMax = s, !0;
3176
3182
  }
3177
3183
  function Rr(u, e) {
3178
- let t, n, r, a, l, o, c, i, f = "";
3184
+ let t, n, r, o, l, a, c, i, f = "";
3179
3185
  const s = u.pos, p = u.posMax;
3180
3186
  if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
3181
3187
  return !1;
3182
3188
  const m = u.pos + 2, d = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
3183
3189
  if (d < 0)
3184
3190
  return !1;
3185
- if (a = d + 1, a < p && u.src.charCodeAt(a) === 40) {
3186
- for (a++; a < p && (t = u.src.charCodeAt(a), !(!j(t) && t !== 10)); a++)
3191
+ if (o = d + 1, o < p && u.src.charCodeAt(o) === 40) {
3192
+ for (o++; o < p && (t = u.src.charCodeAt(o), !(!j(t) && t !== 10)); o++)
3187
3193
  ;
3188
- if (a >= p)
3194
+ if (o >= p)
3189
3195
  return !1;
3190
- for (i = a, o = u.md.helpers.parseLinkDestination(u.src, a, u.posMax), o.ok && (f = u.md.normalizeLink(o.str), u.md.validateLink(f) ? a = o.pos : f = ""), i = a; a < p && (t = u.src.charCodeAt(a), !(!j(t) && t !== 10)); a++)
3196
+ for (i = o, a = u.md.helpers.parseLinkDestination(u.src, o, u.posMax), a.ok && (f = u.md.normalizeLink(a.str), u.md.validateLink(f) ? o = a.pos : f = ""), i = o; o < p && (t = u.src.charCodeAt(o), !(!j(t) && t !== 10)); o++)
3191
3197
  ;
3192
- if (o = u.md.helpers.parseLinkTitle(u.src, a, u.posMax), a < p && i !== a && o.ok)
3193
- for (c = o.str, a = o.pos; a < p && (t = u.src.charCodeAt(a), !(!j(t) && t !== 10)); a++)
3198
+ if (a = u.md.helpers.parseLinkTitle(u.src, o, u.posMax), o < p && i !== o && a.ok)
3199
+ for (c = a.str, o = a.pos; o < p && (t = u.src.charCodeAt(o), !(!j(t) && t !== 10)); o++)
3194
3200
  ;
3195
3201
  else
3196
3202
  c = "";
3197
- if (a >= p || u.src.charCodeAt(a) !== 41)
3203
+ if (o >= p || u.src.charCodeAt(o) !== 41)
3198
3204
  return u.pos = s, !1;
3199
- a++;
3205
+ o++;
3200
3206
  } else {
3201
3207
  if (typeof u.env.references > "u")
3202
3208
  return !1;
3203
- if (a < p && u.src.charCodeAt(a) === 91 ? (i = a + 1, a = u.md.helpers.parseLinkLabel(u, a), a >= 0 ? r = u.src.slice(i, a++) : a = d + 1) : a = d + 1, r || (r = u.src.slice(m, d)), l = u.env.references[Gu(r)], !l)
3209
+ if (o < p && u.src.charCodeAt(o) === 91 ? (i = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(i, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(m, d)), l = u.env.references[Gu(r)], !l)
3204
3210
  return u.pos = s, !1;
3205
3211
  f = l.href, c = l.title;
3206
3212
  }
@@ -3216,7 +3222,7 @@ function Rr(u, e) {
3216
3222
  const $ = u.push("image", "img", 0), A = [["src", f], ["alt", ""]];
3217
3223
  $.attrs = A, $.children = w, $.content = n, c && A.push(["title", c]);
3218
3224
  }
3219
- return u.pos = a, u.posMax = p, !0;
3225
+ return u.pos = o, u.posMax = p, !0;
3220
3226
  }
3221
3227
  const Mr = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, qr = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
3222
3228
  function Br(u, e) {
@@ -3233,34 +3239,34 @@ function Br(u, e) {
3233
3239
  if (l === 62)
3234
3240
  break;
3235
3241
  }
3236
- const a = u.src.slice(n + 1, t);
3237
- if (qr.test(a)) {
3238
- const l = u.md.normalizeLink(a);
3242
+ const o = u.src.slice(n + 1, t);
3243
+ if (qr.test(o)) {
3244
+ const l = u.md.normalizeLink(o);
3239
3245
  if (!u.md.validateLink(l))
3240
3246
  return !1;
3241
3247
  if (!e) {
3242
- const o = u.push("link_open", "a", 1);
3243
- o.attrs = [["href", l]], o.markup = "autolink", o.info = "auto";
3248
+ const a = u.push("link_open", "a", 1);
3249
+ a.attrs = [["href", l]], a.markup = "autolink", a.info = "auto";
3244
3250
  const c = u.push("text", "", 0);
3245
- c.content = u.md.normalizeLinkText(a);
3251
+ c.content = u.md.normalizeLinkText(o);
3246
3252
  const i = u.push("link_close", "a", -1);
3247
3253
  i.markup = "autolink", i.info = "auto";
3248
3254
  }
3249
- return u.pos += a.length + 2, !0;
3255
+ return u.pos += o.length + 2, !0;
3250
3256
  }
3251
- if (Mr.test(a)) {
3252
- const l = u.md.normalizeLink("mailto:" + a);
3257
+ if (Mr.test(o)) {
3258
+ const l = u.md.normalizeLink("mailto:" + o);
3253
3259
  if (!u.md.validateLink(l))
3254
3260
  return !1;
3255
3261
  if (!e) {
3256
- const o = u.push("link_open", "a", 1);
3257
- o.attrs = [["href", l]], o.markup = "autolink", o.info = "auto";
3262
+ const a = u.push("link_open", "a", 1);
3263
+ a.attrs = [["href", l]], a.markup = "autolink", a.info = "auto";
3258
3264
  const c = u.push("text", "", 0);
3259
- c.content = u.md.normalizeLinkText(a);
3265
+ c.content = u.md.normalizeLinkText(o);
3260
3266
  const i = u.push("link_close", "a", -1);
3261
3267
  i.markup = "autolink", i.info = "auto";
3262
3268
  }
3263
- return u.pos += a.length + 2, !0;
3269
+ return u.pos += o.length + 2, !0;
3264
3270
  }
3265
3271
  return !1;
3266
3272
  }
@@ -3283,14 +3289,14 @@ function Ur(u, e) {
3283
3289
  const r = u.src.charCodeAt(n + 1);
3284
3290
  if (r !== 33 && r !== 63 && r !== 47 && !Pr(r))
3285
3291
  return !1;
3286
- const a = u.src.slice(n).match(xr);
3287
- if (!a)
3292
+ const o = u.src.slice(n).match(xr);
3293
+ if (!o)
3288
3294
  return !1;
3289
3295
  if (!e) {
3290
3296
  const l = u.push("html_inline", "", 0);
3291
- l.content = a[0], zr(l.content) && u.linkLevel++, Lr(l.content) && u.linkLevel--;
3297
+ l.content = o[0], zr(l.content) && u.linkLevel++, Lr(l.content) && u.linkLevel--;
3292
3298
  }
3293
- return u.pos += a[0].length, !0;
3299
+ return u.pos += o[0].length, !0;
3294
3300
  }
3295
3301
  const Nr = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, jr = /^&([a-z][a-z0-9]{1,31});/i;
3296
3302
  function Zr(u, e) {
@@ -3298,24 +3304,24 @@ function Zr(u, e) {
3298
3304
  if (u.src.charCodeAt(t) !== 38 || t + 1 >= n)
3299
3305
  return !1;
3300
3306
  if (u.src.charCodeAt(t + 1) === 35) {
3301
- const a = u.src.slice(t).match(Nr);
3302
- if (a) {
3307
+ const o = u.src.slice(t).match(Nr);
3308
+ if (o) {
3303
3309
  if (!e) {
3304
- const l = a[1][0].toLowerCase() === "x" ? parseInt(a[1].slice(1), 16) : parseInt(a[1], 10), o = u.push("text_special", "", 0);
3305
- o.content = Ae(l) ? Lu(l) : Lu(65533), o.markup = a[0], o.info = "entity";
3310
+ const l = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), a = u.push("text_special", "", 0);
3311
+ a.content = Ae(l) ? Lu(l) : Lu(65533), a.markup = o[0], a.info = "entity";
3306
3312
  }
3307
- return u.pos += a[0].length, !0;
3313
+ return u.pos += o[0].length, !0;
3308
3314
  }
3309
3315
  } else {
3310
- const a = u.src.slice(t).match(jr);
3311
- if (a) {
3312
- const l = I0(a[0]);
3313
- if (l !== a[0]) {
3316
+ const o = u.src.slice(t).match(jr);
3317
+ if (o) {
3318
+ const l = I0(o[0]);
3319
+ if (l !== o[0]) {
3314
3320
  if (!e) {
3315
- const o = u.push("text_special", "", 0);
3316
- o.content = l, o.markup = a[0], o.info = "entity";
3321
+ const a = u.push("text_special", "", 0);
3322
+ a.content = l, a.markup = o[0], a.info = "entity";
3317
3323
  }
3318
- return u.pos += a[0].length, !0;
3324
+ return u.pos += o[0].length, !0;
3319
3325
  }
3320
3326
  }
3321
3327
  }
@@ -3326,26 +3332,26 @@ function u0(u) {
3326
3332
  if (!t)
3327
3333
  return;
3328
3334
  let n = 0, r = -2;
3329
- const a = [];
3335
+ const o = [];
3330
3336
  for (let l = 0; l < t; l++) {
3331
- const o = u[l];
3332
- if (a.push(0), (u[n].marker !== o.marker || r !== o.token - 1) && (n = l), r = o.token, o.length = o.length || 0, !o.close)
3337
+ const a = u[l];
3338
+ if (o.push(0), (u[n].marker !== a.marker || r !== a.token - 1) && (n = l), r = a.token, a.length = a.length || 0, !a.close)
3333
3339
  continue;
3334
- e.hasOwnProperty(o.marker) || (e[o.marker] = [-1, -1, -1, -1, -1, -1]);
3335
- const c = e[o.marker][(o.open ? 3 : 0) + o.length % 3];
3336
- let i = n - a[n] - 1, f = i;
3337
- for (; i > c; i -= a[i] + 1) {
3340
+ e.hasOwnProperty(a.marker) || (e[a.marker] = [-1, -1, -1, -1, -1, -1]);
3341
+ const c = e[a.marker][(a.open ? 3 : 0) + a.length % 3];
3342
+ let i = n - o[n] - 1, f = i;
3343
+ for (; i > c; i -= o[i] + 1) {
3338
3344
  const s = u[i];
3339
- if (s.marker === o.marker && s.open && s.end < 0) {
3345
+ if (s.marker === a.marker && s.open && s.end < 0) {
3340
3346
  let p = !1;
3341
- if ((s.close || o.open) && (s.length + o.length) % 3 === 0 && (s.length % 3 !== 0 || o.length % 3 !== 0) && (p = !0), !p) {
3342
- const m = i > 0 && !u[i - 1].open ? a[i - 1] + 1 : 0;
3343
- a[l] = l - i + m, a[i] = m, o.open = !1, s.end = l, s.close = !1, f = -1, r = -2;
3347
+ if ((s.close || a.open) && (s.length + a.length) % 3 === 0 && (s.length % 3 !== 0 || a.length % 3 !== 0) && (p = !0), !p) {
3348
+ const m = i > 0 && !u[i - 1].open ? o[i - 1] + 1 : 0;
3349
+ o[l] = l - i + m, o[i] = m, a.open = !1, s.end = l, s.close = !1, f = -1, r = -2;
3344
3350
  break;
3345
3351
  }
3346
3352
  }
3347
3353
  }
3348
- f !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = f);
3354
+ f !== -1 && (e[a.marker][(a.open ? 3 : 0) + (a.length || 0) % 3] = f);
3349
3355
  }
3350
3356
  }
3351
3357
  function Hr(u) {
@@ -3356,9 +3362,9 @@ function Hr(u) {
3356
3362
  }
3357
3363
  function Gr(u) {
3358
3364
  let e, t, n = 0;
3359
- const r = u.tokens, a = u.tokens.length;
3360
- for (e = t = 0; e < a; e++)
3361
- r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < a && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
3365
+ const r = u.tokens, o = u.tokens.length;
3366
+ for (e = t = 0; e < o; e++)
3367
+ 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++);
3362
3368
  e !== t && (r.length = t);
3363
3369
  }
3364
3370
  const ne = [
@@ -3391,32 +3397,32 @@ function $u() {
3391
3397
  this.ruler2.push(re[u][0], re[u][1]);
3392
3398
  }
3393
3399
  $u.prototype.skipToken = function(u) {
3394
- const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, a = u.cache;
3395
- if (typeof a[e] < "u") {
3396
- u.pos = a[e];
3400
+ const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
3401
+ if (typeof o[e] < "u") {
3402
+ u.pos = o[e];
3397
3403
  return;
3398
3404
  }
3399
3405
  let l = !1;
3400
3406
  if (u.level < r) {
3401
- for (let o = 0; o < n; o++)
3402
- if (u.level++, l = t[o](u, !0), u.level--, l) {
3407
+ for (let a = 0; a < n; a++)
3408
+ if (u.level++, l = t[a](u, !0), u.level--, l) {
3403
3409
  if (e >= u.pos)
3404
3410
  throw new Error("inline rule didn't increment state.pos");
3405
3411
  break;
3406
3412
  }
3407
3413
  } else
3408
3414
  u.pos = u.posMax;
3409
- l || u.pos++, a[e] = u.pos;
3415
+ l || u.pos++, o[e] = u.pos;
3410
3416
  };
3411
3417
  $u.prototype.tokenize = function(u) {
3412
3418
  const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
3413
3419
  for (; u.pos < n; ) {
3414
- const a = u.pos;
3420
+ const o = u.pos;
3415
3421
  let l = !1;
3416
3422
  if (u.level < r) {
3417
- for (let o = 0; o < t; o++)
3418
- if (l = e[o](u, !1), l) {
3419
- if (a >= u.pos)
3423
+ for (let a = 0; a < t; a++)
3424
+ if (l = e[a](u, !1), l) {
3425
+ if (o >= u.pos)
3420
3426
  throw new Error("inline rule didn't increment state.pos");
3421
3427
  break;
3422
3428
  }
@@ -3433,9 +3439,9 @@ $u.prototype.tokenize = function(u) {
3433
3439
  $u.prototype.parse = function(u, e, t, n) {
3434
3440
  const r = new this.State(u, e, t, n);
3435
3441
  this.tokenize(r);
3436
- const a = this.ruler2.getRules(""), l = a.length;
3437
- for (let o = 0; o < l; o++)
3438
- a[o](r);
3442
+ const o = this.ruler2.getRules(""), l = o.length;
3443
+ for (let a = 0; a < l; a++)
3444
+ o[a](r);
3439
3445
  };
3440
3446
  $u.prototype.State = Vu;
3441
3447
  function Jr(u) {
@@ -3485,7 +3491,7 @@ function Xr(u) {
3485
3491
  return e || L0.hasOwnProperty(t);
3486
3492
  }, !1);
3487
3493
  }
3488
- const ua = {
3494
+ const uo = {
3489
3495
  "http:": {
3490
3496
  validate: function(u, e, t) {
3491
3497
  const n = u.slice(e);
@@ -3517,11 +3523,11 @@ const ua = {
3517
3523
  )), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
3518
3524
  }
3519
3525
  }
3520
- }, ea = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", ta = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3521
- function na(u) {
3526
+ }, eo = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", to = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3527
+ function no(u) {
3522
3528
  u.__index__ = -1, u.__text_cache__ = "";
3523
3529
  }
3524
- function ra(u) {
3530
+ function ro(u) {
3525
3531
  return function(e, t) {
3526
3532
  const n = e.slice(t);
3527
3533
  return u.test(n) ? n.match(u)[0].length : 0;
@@ -3534,53 +3540,53 @@ function t0() {
3534
3540
  }
3535
3541
  function Pu(u) {
3536
3542
  const e = u.re = Jr(u.__opts__), t = u.__tlds__.slice();
3537
- u.onCompile(), u.__tlds_replaced__ || t.push(ea), t.push(e.src_xn), e.src_tlds = t.join("|");
3538
- function n(o) {
3539
- return o.replace("%TLDS%", e.src_tlds);
3543
+ u.onCompile(), u.__tlds_replaced__ || t.push(eo), t.push(e.src_xn), e.src_tlds = t.join("|");
3544
+ function n(a) {
3545
+ return a.replace("%TLDS%", e.src_tlds);
3540
3546
  }
3541
3547
  e.email_fuzzy = RegExp(n(e.tpl_email_fuzzy), "i"), e.link_fuzzy = RegExp(n(e.tpl_link_fuzzy), "i"), e.link_no_ip_fuzzy = RegExp(n(e.tpl_link_no_ip_fuzzy), "i"), e.host_fuzzy_test = RegExp(n(e.tpl_host_fuzzy_test), "i");
3542
3548
  const r = [];
3543
3549
  u.__compiled__ = {};
3544
- function a(o, c) {
3545
- throw new Error('(LinkifyIt) Invalid schema "' + o + '": ' + c);
3550
+ function o(a, c) {
3551
+ throw new Error('(LinkifyIt) Invalid schema "' + a + '": ' + c);
3546
3552
  }
3547
- Object.keys(u.__schemas__).forEach(function(o) {
3548
- const c = u.__schemas__[o];
3553
+ Object.keys(u.__schemas__).forEach(function(a) {
3554
+ const c = u.__schemas__[a];
3549
3555
  if (c === null)
3550
3556
  return;
3551
3557
  const i = { validate: null, link: null };
3552
- if (u.__compiled__[o] = i, Qr(c)) {
3553
- Yr(c.validate) ? i.validate = ra(c.validate) : e0(c.validate) ? i.validate = c.validate : a(o, c), e0(c.normalize) ? i.normalize = c.normalize : c.normalize ? a(o, c) : i.normalize = t0();
3558
+ if (u.__compiled__[a] = i, Qr(c)) {
3559
+ Yr(c.validate) ? i.validate = ro(c.validate) : e0(c.validate) ? i.validate = c.validate : o(a, c), e0(c.normalize) ? i.normalize = c.normalize : c.normalize ? o(a, c) : i.normalize = t0();
3554
3560
  return;
3555
3561
  }
3556
3562
  if (Wr(c)) {
3557
- r.push(o);
3563
+ r.push(a);
3558
3564
  return;
3559
3565
  }
3560
- a(o, c);
3561
- }), r.forEach(function(o) {
3562
- u.__compiled__[u.__schemas__[o]] && (u.__compiled__[o].validate = u.__compiled__[u.__schemas__[o]].validate, u.__compiled__[o].normalize = u.__compiled__[u.__schemas__[o]].normalize);
3566
+ o(a, c);
3567
+ }), r.forEach(function(a) {
3568
+ u.__compiled__[u.__schemas__[a]] && (u.__compiled__[a].validate = u.__compiled__[u.__schemas__[a]].validate, u.__compiled__[a].normalize = u.__compiled__[u.__schemas__[a]].normalize);
3563
3569
  }), u.__compiled__[""] = { validate: null, normalize: t0() };
3564
- const l = Object.keys(u.__compiled__).filter(function(o) {
3565
- return o.length > 0 && u.__compiled__[o];
3570
+ const l = Object.keys(u.__compiled__).filter(function(a) {
3571
+ return a.length > 0 && u.__compiled__[a];
3566
3572
  }).map(Kr).join("|");
3567
3573
  u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + l + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + l + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
3568
3574
  "(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
3569
3575
  "i"
3570
- ), na(u);
3576
+ ), no(u);
3571
3577
  }
3572
- function aa(u, e) {
3578
+ function oo(u, e) {
3573
3579
  const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
3574
3580
  this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
3575
3581
  }
3576
3582
  function ce(u, e) {
3577
- const t = new aa(u, e);
3583
+ const t = new oo(u, e);
3578
3584
  return u.__compiled__[t.schema].normalize(t, u), t;
3579
3585
  }
3580
3586
  function ru(u, e) {
3581
3587
  if (!(this instanceof ru))
3582
3588
  return new ru(u, e);
3583
- e || Xr(u) && (e = u, u = {}), this.__opts__ = ie({}, L0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ie({}, ua, u), this.__compiled__ = {}, this.__tlds__ = ta, this.__tlds_replaced__ = !1, this.re = {}, Pu(this);
3589
+ e || Xr(u) && (e = u, u = {}), this.__opts__ = ie({}, L0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ie({}, uo, u), this.__compiled__ = {}, this.__tlds__ = to, this.__tlds_replaced__ = !1, this.re = {}, Pu(this);
3584
3590
  }
3585
3591
  ru.prototype.add = function(e, t) {
3586
3592
  return this.__schemas__[e] = t, Pu(this), this;
@@ -3591,15 +3597,15 @@ ru.prototype.set = function(e) {
3591
3597
  ru.prototype.test = function(e) {
3592
3598
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
3593
3599
  return !1;
3594
- let t, n, r, a, l, o, c, i, f;
3600
+ let t, n, r, o, l, a, c, i, f;
3595
3601
  if (this.re.schema_test.test(e)) {
3596
3602
  for (c = this.re.schema_search, c.lastIndex = 0; (t = c.exec(e)) !== null; )
3597
- if (a = this.testSchemaAt(e, t[2], c.lastIndex), a) {
3598
- this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + a;
3603
+ if (o = this.testSchemaAt(e, t[2], c.lastIndex), o) {
3604
+ this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + o;
3599
3605
  break;
3600
3606
  }
3601
3607
  }
3602
- return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (i = e.search(this.re.host_fuzzy_test), i >= 0 && (this.__index__ < 0 || i < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (l = n.index + n[1].length, (this.__index__ < 0 || l < this.__index__) && (this.__schema__ = "", this.__index__ = l, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (l = r.index + r[1].length, o = r.index + r[0].length, (this.__index__ < 0 || l < this.__index__ || l === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = l, this.__last_index__ = o))), this.__index__ >= 0;
3608
+ return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (i = e.search(this.re.host_fuzzy_test), i >= 0 && (this.__index__ < 0 || i < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (l = n.index + n[1].length, (this.__index__ < 0 || l < this.__index__) && (this.__schema__ = "", this.__index__ = l, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (l = r.index + r[1].length, a = r.index + r[0].length, (this.__index__ < 0 || l < this.__index__ || l === this.__index__ && a > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = l, this.__last_index__ = a))), this.__index__ >= 0;
3603
3609
  };
3604
3610
  ru.prototype.pretest = function(e) {
3605
3611
  return this.re.pretest.test(e);
@@ -3626,8 +3632,8 @@ ru.prototype.matchAtStart = function(e) {
3626
3632
  return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, ce(this, 0)) : null;
3627
3633
  };
3628
3634
  ru.prototype.tlds = function(e, t) {
3629
- return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, a) {
3630
- return n !== a[r - 1];
3635
+ return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
3636
+ return n !== o[r - 1];
3631
3637
  }).reverse(), Pu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Pu(this), this);
3632
3638
  };
3633
3639
  ru.prototype.normalize = function(e) {
@@ -3635,15 +3641,15 @@ ru.prototype.normalize = function(e) {
3635
3641
  };
3636
3642
  ru.prototype.onCompile = function() {
3637
3643
  };
3638
- const yu = 2147483647, iu = 36, Se = 1, Iu = 26, oa = 38, la = 700, P0 = 72, U0 = 128, N0 = "-", ia = /^xn--/, ca = /[^\0-\x7F]/, sa = /[\x2E\u3002\uFF0E\uFF61]/g, da = {
3644
+ const yu = 2147483647, iu = 36, Se = 1, Iu = 26, ao = 38, lo = 700, P0 = 72, U0 = 128, N0 = "-", io = /^xn--/, co = /[^\0-\x7F]/, so = /[\x2E\u3002\uFF0E\uFF61]/g, fo = {
3639
3645
  overflow: "Overflow: input needs wider integers to process",
3640
3646
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3641
3647
  "invalid-input": "Invalid input"
3642
- }, ae = iu - Se, cu = Math.floor, oe = String.fromCharCode;
3648
+ }, oe = iu - Se, cu = Math.floor, ae = String.fromCharCode;
3643
3649
  function pu(u) {
3644
- throw new RangeError(da[u]);
3650
+ throw new RangeError(fo[u]);
3645
3651
  }
3646
- function fa(u, e) {
3652
+ function po(u, e) {
3647
3653
  const t = [];
3648
3654
  let n = u.length;
3649
3655
  for (; n--; )
@@ -3653,9 +3659,9 @@ function fa(u, e) {
3653
3659
  function j0(u, e) {
3654
3660
  const t = u.split("@");
3655
3661
  let n = "";
3656
- t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(sa, ".");
3657
- const r = u.split("."), a = fa(r, e).join(".");
3658
- return n + a;
3662
+ t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(so, ".");
3663
+ const r = u.split("."), o = po(r, e).join(".");
3664
+ return n + o;
3659
3665
  }
3660
3666
  function Z0(u) {
3661
3667
  const e = [];
@@ -3664,83 +3670,83 @@ function Z0(u) {
3664
3670
  for (; t < n; ) {
3665
3671
  const r = u.charCodeAt(t++);
3666
3672
  if (r >= 55296 && r <= 56319 && t < n) {
3667
- const a = u.charCodeAt(t++);
3668
- (a & 64512) == 56320 ? e.push(((r & 1023) << 10) + (a & 1023) + 65536) : (e.push(r), t--);
3673
+ const o = u.charCodeAt(t++);
3674
+ (o & 64512) == 56320 ? e.push(((r & 1023) << 10) + (o & 1023) + 65536) : (e.push(r), t--);
3669
3675
  } else
3670
3676
  e.push(r);
3671
3677
  }
3672
3678
  return e;
3673
3679
  }
3674
- const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3680
+ const bo = (u) => String.fromCodePoint(...u), ho = function(u) {
3675
3681
  return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : iu;
3676
3682
  }, n0 = function(u, e) {
3677
3683
  return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
3678
3684
  }, H0 = function(u, e, t) {
3679
3685
  let n = 0;
3680
- for (u = t ? cu(u / la) : u >> 1, u += cu(u / e); u > ae * Iu >> 1; n += iu)
3681
- u = cu(u / ae);
3682
- return cu(n + (ae + 1) * u / (u + oa));
3686
+ for (u = t ? cu(u / lo) : u >> 1, u += cu(u / e); u > oe * Iu >> 1; n += iu)
3687
+ u = cu(u / oe);
3688
+ return cu(n + (oe + 1) * u / (u + ao));
3683
3689
  }, G0 = function(u) {
3684
3690
  const e = [], t = u.length;
3685
- let n = 0, r = U0, a = P0, l = u.lastIndexOf(N0);
3691
+ let n = 0, r = U0, o = P0, l = u.lastIndexOf(N0);
3686
3692
  l < 0 && (l = 0);
3687
- for (let o = 0; o < l; ++o)
3688
- u.charCodeAt(o) >= 128 && pu("not-basic"), e.push(u.charCodeAt(o));
3689
- for (let o = l > 0 ? l + 1 : 0; o < t; ) {
3693
+ for (let a = 0; a < l; ++a)
3694
+ u.charCodeAt(a) >= 128 && pu("not-basic"), e.push(u.charCodeAt(a));
3695
+ for (let a = l > 0 ? l + 1 : 0; a < t; ) {
3690
3696
  const c = n;
3691
3697
  for (let f = 1, s = iu; ; s += iu) {
3692
- o >= t && pu("invalid-input");
3693
- const p = ba(u.charCodeAt(o++));
3698
+ a >= t && pu("invalid-input");
3699
+ const p = ho(u.charCodeAt(a++));
3694
3700
  p >= iu && pu("invalid-input"), p > cu((yu - n) / f) && pu("overflow"), n += p * f;
3695
- const m = s <= a ? Se : s >= a + Iu ? Iu : s - a;
3701
+ const m = s <= o ? Se : s >= o + Iu ? Iu : s - o;
3696
3702
  if (p < m)
3697
3703
  break;
3698
3704
  const d = iu - m;
3699
3705
  f > cu(yu / d) && pu("overflow"), f *= d;
3700
3706
  }
3701
3707
  const i = e.length + 1;
3702
- a = H0(n - c, i, c == 0), cu(n / i) > yu - r && pu("overflow"), r += cu(n / i), n %= i, e.splice(n++, 0, r);
3708
+ o = H0(n - c, i, c == 0), cu(n / i) > yu - r && pu("overflow"), r += cu(n / i), n %= i, e.splice(n++, 0, r);
3703
3709
  }
3704
3710
  return String.fromCodePoint(...e);
3705
3711
  }, J0 = function(u) {
3706
3712
  const e = [];
3707
3713
  u = Z0(u);
3708
3714
  const t = u.length;
3709
- let n = U0, r = 0, a = P0;
3715
+ let n = U0, r = 0, o = P0;
3710
3716
  for (const c of u)
3711
- c < 128 && e.push(oe(c));
3717
+ c < 128 && e.push(ae(c));
3712
3718
  const l = e.length;
3713
- let o = l;
3714
- for (l && e.push(N0); o < t; ) {
3719
+ let a = l;
3720
+ for (l && e.push(N0); a < t; ) {
3715
3721
  let c = yu;
3716
3722
  for (const f of u)
3717
3723
  f >= n && f < c && (c = f);
3718
- const i = o + 1;
3724
+ const i = a + 1;
3719
3725
  c - n > cu((yu - r) / i) && pu("overflow"), r += (c - n) * i, n = c;
3720
3726
  for (const f of u)
3721
3727
  if (f < n && ++r > yu && pu("overflow"), f === n) {
3722
3728
  let s = r;
3723
3729
  for (let p = iu; ; p += iu) {
3724
- const m = p <= a ? Se : p >= a + Iu ? Iu : p - a;
3730
+ const m = p <= o ? Se : p >= o + Iu ? Iu : p - o;
3725
3731
  if (s < m)
3726
3732
  break;
3727
3733
  const d = s - m, w = iu - m;
3728
3734
  e.push(
3729
- oe(n0(m + d % w, 0))
3735
+ ae(n0(m + d % w, 0))
3730
3736
  ), s = cu(d / w);
3731
3737
  }
3732
- e.push(oe(n0(s, 0))), a = H0(r, i, o === l), r = 0, ++o;
3738
+ e.push(ae(n0(s, 0))), o = H0(r, i, a === l), r = 0, ++a;
3733
3739
  }
3734
3740
  ++r, ++n;
3735
3741
  }
3736
3742
  return e.join("");
3737
- }, ha = function(u) {
3743
+ }, mo = function(u) {
3738
3744
  return j0(u, function(e) {
3739
- return ia.test(e) ? G0(e.slice(4).toLowerCase()) : e;
3745
+ return io.test(e) ? G0(e.slice(4).toLowerCase()) : e;
3740
3746
  });
3741
- }, ma = function(u) {
3747
+ }, xo = function(u) {
3742
3748
  return j0(u, function(e) {
3743
- return ca.test(e) ? "xn--" + J0(e) : e;
3749
+ return co.test(e) ? "xn--" + J0(e) : e;
3744
3750
  });
3745
3751
  }, W0 = {
3746
3752
  /**
@@ -3758,13 +3764,13 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3758
3764
  */
3759
3765
  ucs2: {
3760
3766
  decode: Z0,
3761
- encode: pa
3767
+ encode: bo
3762
3768
  },
3763
3769
  decode: G0,
3764
3770
  encode: J0,
3765
- toASCII: ma,
3766
- toUnicode: ha
3767
- }, xa = {
3771
+ toASCII: xo,
3772
+ toUnicode: mo
3773
+ }, _o = {
3768
3774
  options: {
3769
3775
  // Enable HTML tags in source
3770
3776
  html: !1,
@@ -3800,7 +3806,7 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3800
3806
  block: {},
3801
3807
  inline: {}
3802
3808
  }
3803
- }, _a = {
3809
+ }, go = {
3804
3810
  options: {
3805
3811
  // Enable HTML tags in source
3806
3812
  html: !1,
@@ -3855,7 +3861,7 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3855
3861
  ]
3856
3862
  }
3857
3863
  }
3858
- }, ga = {
3864
+ }, ko = {
3859
3865
  options: {
3860
3866
  // Enable HTML tags in source
3861
3867
  html: !0,
@@ -3929,17 +3935,17 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3929
3935
  ]
3930
3936
  }
3931
3937
  }
3932
- }, ka = {
3933
- default: xa,
3934
- zero: _a,
3935
- commonmark: ga
3936
- }, ya = /^(vbscript|javascript|file|data):/, va = /^data:image\/(gif|png|jpeg|webp);/;
3937
- function Ca(u) {
3938
+ }, yo = {
3939
+ default: _o,
3940
+ zero: go,
3941
+ commonmark: ko
3942
+ }, vo = /^(vbscript|javascript|file|data):/, Co = /^data:image\/(gif|png|jpeg|webp);/;
3943
+ function Eo(u) {
3938
3944
  const e = u.trim().toLowerCase();
3939
- return ya.test(e) ? va.test(e) : !0;
3945
+ return vo.test(e) ? Co.test(e) : !0;
3940
3946
  }
3941
3947
  const Q0 = ["http:", "https:", "mailto:"];
3942
- function Ea(u) {
3948
+ function Do(u) {
3943
3949
  const e = Ee(u, !0);
3944
3950
  if (e.hostname && (!e.protocol || Q0.indexOf(e.protocol) >= 0))
3945
3951
  try {
@@ -3948,7 +3954,7 @@ function Ea(u) {
3948
3954
  }
3949
3955
  return Ou(Ce(e));
3950
3956
  }
3951
- function Da(u) {
3957
+ function Fo(u) {
3952
3958
  const e = Ee(u, !0);
3953
3959
  if (e.hostname && (!e.protocol || Q0.indexOf(e.protocol) >= 0))
3954
3960
  try {
@@ -3957,19 +3963,19 @@ function Da(u) {
3957
3963
  }
3958
3964
  return Cu(Ce(e), Cu.defaultChars + "%");
3959
3965
  }
3960
- function au(u, e) {
3961
- if (!(this instanceof au))
3962
- return new au(u, e);
3963
- e || Fe(u) || (e = u || {}, u = "default"), this.inline = new $u(), this.block = new Ju(), this.core = new we(), this.renderer = new Fu(), this.linkify = new ru(), this.validateLink = Ca, this.normalizeLink = Ea, this.normalizeLinkText = Da, this.utils = An, this.helpers = Hu({}, In), this.options = {}, this.configure(u), e && this.set(e);
3966
+ function ou(u, e) {
3967
+ if (!(this instanceof ou))
3968
+ return new ou(u, e);
3969
+ e || Fe(u) || (e = u || {}, u = "default"), this.inline = new $u(), this.block = new Ju(), this.core = new we(), this.renderer = new Fu(), this.linkify = new ru(), this.validateLink = Eo, this.normalizeLink = Do, this.normalizeLinkText = Fo, this.utils = An, this.helpers = Hu({}, In), this.options = {}, this.configure(u), e && this.set(e);
3964
3970
  }
3965
- au.prototype.set = function(u) {
3971
+ ou.prototype.set = function(u) {
3966
3972
  return Hu(this.options, u), this;
3967
3973
  };
3968
- au.prototype.configure = function(u) {
3974
+ ou.prototype.configure = function(u) {
3969
3975
  const e = this;
3970
3976
  if (Fe(u)) {
3971
3977
  const t = u;
3972
- if (u = ka[t], !u)
3978
+ if (u = yo[t], !u)
3973
3979
  throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
3974
3980
  }
3975
3981
  if (!u)
@@ -3978,7 +3984,7 @@ au.prototype.configure = function(u) {
3978
3984
  u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
3979
3985
  }), this;
3980
3986
  };
3981
- au.prototype.enable = function(u, e) {
3987
+ ou.prototype.enable = function(u, e) {
3982
3988
  let t = [];
3983
3989
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3984
3990
  t = t.concat(this[r].ruler.enable(u, !0));
@@ -3990,7 +3996,7 @@ au.prototype.enable = function(u, e) {
3990
3996
  throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
3991
3997
  return this;
3992
3998
  };
3993
- au.prototype.disable = function(u, e) {
3999
+ ou.prototype.disable = function(u, e) {
3994
4000
  let t = [];
3995
4001
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3996
4002
  t = t.concat(this[r].ruler.disable(u, !0));
@@ -4002,27 +4008,27 @@ au.prototype.disable = function(u, e) {
4002
4008
  throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
4003
4009
  return this;
4004
4010
  };
4005
- au.prototype.use = function(u) {
4011
+ ou.prototype.use = function(u) {
4006
4012
  const e = [this].concat(Array.prototype.slice.call(arguments, 1));
4007
4013
  return u.apply(u, e), this;
4008
4014
  };
4009
- au.prototype.parse = function(u, e) {
4015
+ ou.prototype.parse = function(u, e) {
4010
4016
  if (typeof u != "string")
4011
4017
  throw new Error("Input data should be a String");
4012
4018
  const t = new this.core.State(u, this, e);
4013
4019
  return this.core.process(t), t.tokens;
4014
4020
  };
4015
- au.prototype.render = function(u, e) {
4021
+ ou.prototype.render = function(u, e) {
4016
4022
  return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
4017
4023
  };
4018
- au.prototype.parseInline = function(u, e) {
4024
+ ou.prototype.parseInline = function(u, e) {
4019
4025
  const t = new this.core.State(u, this, e);
4020
4026
  return t.inlineMode = !0, this.core.process(t), t.tokens;
4021
4027
  };
4022
- au.prototype.renderInline = function(u, e) {
4028
+ ou.prototype.renderInline = function(u, e) {
4023
4029
  return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
4024
4030
  };
4025
- const Fa = ["innerHTML"], Aa = {
4031
+ const Ao = ["innerHTML"], wo = {
4026
4032
  __name: "FactorDescription",
4027
4033
  props: /* @__PURE__ */ ju({
4028
4034
  factorType: { type: String, default: "模版" },
@@ -4033,12 +4039,12 @@ const Fa = ["innerHTML"], Aa = {
4033
4039
  }),
4034
4040
  emits: ["update:visible"],
4035
4041
  setup(u) {
4036
- const { request: e } = a0("stConfig"), t = new au(), n = eu(""), r = Zu(u, "visible");
4042
+ const { request: e } = o0("stConfig"), t = new ou(), n = eu(""), r = Zu(u, "visible");
4037
4043
  return c0(async () => {
4038
- const { data: a } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(a.data), c = new TextDecoder("utf-8").decode(l);
4044
+ const { data: o } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(o.data), c = new TextDecoder("utf-8").decode(l);
4039
4045
  n.value = t.render(c);
4040
- }), (a, l) => {
4041
- const o = nt, c = rt, i = b0, f = ge;
4046
+ }), (o, l) => {
4047
+ const a = nt, c = rt, i = b0, f = ge;
4042
4048
  return E(), P(f, {
4043
4049
  modelValue: r.value,
4044
4050
  "onUpdate:modelValue": l[0] || (l[0] = (s) => r.value = s),
@@ -4062,16 +4068,16 @@ const Fa = ["innerHTML"], Aa = {
4062
4068
  height: "500"
4063
4069
  }, {
4064
4070
  default: D(() => [
4065
- y(o, {
4071
+ y(a, {
4066
4072
  prop: "factorName",
4067
4073
  label: "因子名称",
4068
4074
  width: "200"
4069
4075
  }),
4070
- y(o, {
4076
+ y(a, {
4071
4077
  prop: "factorDesc",
4072
4078
  label: "因子说明"
4073
4079
  }),
4074
- y(o, {
4080
+ y(a, {
4075
4081
  prop: "factorScoreDefine",
4076
4082
  label: "分值定义"
4077
4083
  })
@@ -4082,7 +4088,7 @@ const Fa = ["innerHTML"], Aa = {
4082
4088
  key: 1,
4083
4089
  class: "markdown-body",
4084
4090
  innerHTML: n.value
4085
- }, null, 8, Fa)) : U("", !0)
4091
+ }, null, 8, Ao)) : U("", !0)
4086
4092
  ]),
4087
4093
  _: 1
4088
4094
  })
@@ -4092,7 +4098,7 @@ const Fa = ["innerHTML"], Aa = {
4092
4098
  };
4093
4099
  }
4094
4100
  };
4095
- const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "factor-screen" }, Ta = { style: { "white-space": "pre-line" } }, Sa = { class: "custom-header" }, Ia = { class: "left" }, Oa = ["id"], Va = { class: "right" }, $a = { class: "form-row" }, Ra = { class: "index" }, Ma = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, qa = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "~", -1)), Ba = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "&&代表and,||代表or", -1)), za = { class: "dialog-footer" }, La = {
4101
+ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "factor-screen" }, So = { style: { "white-space": "pre-line" } }, Io = { class: "custom-header" }, Oo = { class: "left" }, Vo = ["id"], $o = { class: "right" }, Ro = { class: "form-row" }, Mo = { class: "index" }, qo = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Bo = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "~", -1)), zo = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "&&代表and,||代表or", -1)), Lo = { class: "dialog-footer" }, Po = {
4096
4102
  __name: "index",
4097
4103
  props: /* @__PURE__ */ ju({
4098
4104
  config: {
@@ -4124,7 +4130,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4124
4130
  }),
4125
4131
  emits: ["update:data"],
4126
4132
  setup(u) {
4127
- const e = u, t = Zu(u, "data"), n = eu(), r = eu(), a = eu(!1), l = eu(!1), o = eu("脚本"), c = eu(null), i = eu({
4133
+ const e = u, t = Zu(u, "data"), n = eu(), r = eu(), o = eu(!1), l = eu(!1), a = eu("脚本"), c = eu(null), i = eu({
4128
4134
  // 筛选因子列表
4129
4135
  list: [
4130
4136
  {
@@ -4149,9 +4155,9 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4149
4155
  sqlEnable: b,
4150
4156
  sqlValue: x,
4151
4157
  factorSelectExpr: g
4152
- }, i.value.list.length || m(), a.value = !0;
4158
+ }, i.value.list.length || m(), o.value = !0;
4153
4159
  }, s = () => {
4154
- if (o.value === "模版")
4160
+ if (a.value === "模版")
4155
4161
  c.value.validate((k) => {
4156
4162
  const { list: b, sqlEnable: x, sqlValue: g } = i.value;
4157
4163
  if (k) {
@@ -4167,7 +4173,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4167
4173
  sqlEnable: x,
4168
4174
  sqlValue: g,
4169
4175
  factorSelectExpr: ""
4170
- }, a.value = !1;
4176
+ }, o.value = !1;
4171
4177
  }
4172
4178
  });
4173
4179
  else {
@@ -4179,7 +4185,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4179
4185
  sqlEnable: 0,
4180
4186
  sqlValue: null,
4181
4187
  factorSelectExpr: k
4182
- }, a.value = !1;
4188
+ }, o.value = !1;
4183
4189
  }
4184
4190
  }, p = (k) => {
4185
4191
  i.value.list.splice(k, 1);
@@ -4242,7 +4248,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4242
4248
  break;
4243
4249
  }
4244
4250
  case "scriptTag": {
4245
- ft.confirm("是否确认删除因子筛选: 脚本模式", "删除操作", {
4251
+ gt.confirm("是否确认删除因子筛选: 脚本模式", "删除操作", {
4246
4252
  confirmButtonText: "确认",
4247
4253
  cancelButtonText: "取消",
4248
4254
  type: "warning"
@@ -4287,12 +4293,12 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4287
4293
  }
4288
4294
  };
4289
4295
  return vu(
4290
- () => a.value,
4296
+ () => o.value,
4291
4297
  (k) => {
4292
4298
  switch (k) {
4293
4299
  case !0: {
4294
4300
  Bu(() => {
4295
- n.value.resize(), t.value.factorSelectExpr && (o.value = "脚本", n.value.setValue(t.value.factorSelectExpr), n.value.focusToEnd()), (t.value.sqlEnable && t.value.sqlValue || !t.value.sqlEnable && t.value.list.length) && (o.value = "模版");
4301
+ n.value.resize(), t.value.factorSelectExpr && (a.value = "脚本", n.value.setValue(t.value.factorSelectExpr), n.value.focusToEnd()), (t.value.sqlEnable && t.value.sqlValue || !t.value.sqlEnable && t.value.list.length) && (a.value = "模版");
4296
4302
  });
4297
4303
  break;
4298
4304
  }
@@ -4303,7 +4309,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4303
4309
  }
4304
4310
  }
4305
4311
  ), vu(
4306
- () => o.value,
4312
+ () => a.value,
4307
4313
  (k) => {
4308
4314
  k === "模版" && r.value.close(), k === "脚本" && Bu(() => {
4309
4315
  n.value.focusToEnd();
@@ -4312,9 +4318,9 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4312
4318
  { deep: !0 }
4313
4319
  ), (k, b) => {
4314
4320
  var Ie;
4315
- const x = lt, g = h0, _ = kt, I = p0, v = _t, T = tt, F = D0, q = ve, B = qe("st-customFunction"), C = fe, N = pe, H = pt, xu = f0, _u = ye, gu = d0, K = bt, X = b0, Yu = ge, K0 = qe("st-varSelectDialog");
4321
+ const x = pt, g = h0, _ = kt, I = p0, v = xt, T = tt, F = D0, q = ve, B = qe("st-customFunction"), C = fe, N = pe, H = dt, xu = f0, _u = ye, gu = d0, K = ft, X = b0, Yu = ge, K0 = qe("st-varSelectDialog");
4316
4322
  return E(), S(z, null, [
4317
- V("div", wa, [
4323
+ V("div", To, [
4318
4324
  V("div", null, [
4319
4325
  t.value.sqlEnable && t.value.sqlValue ? (E(), P(g, {
4320
4326
  key: 0,
@@ -4365,7 +4371,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4365
4371
  })
4366
4372
  ]),
4367
4373
  default: D(() => [
4368
- V("div", Ta, uu(t.value.factorSelectExpr), 1)
4374
+ V("div", So, uu(t.value.factorSelectExpr), 1)
4369
4375
  ]),
4370
4376
  _: 1
4371
4377
  })) : U("", !0),
@@ -4385,8 +4391,8 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4385
4391
  ]),
4386
4392
  y(Yu, {
4387
4393
  "modal-class": "factor-dialog",
4388
- modelValue: a.value,
4389
- "onUpdate:modelValue": b[8] || (b[8] = (M) => a.value = M),
4394
+ modelValue: o.value,
4395
+ "onUpdate:modelValue": b[8] || (b[8] = (M) => o.value = M),
4390
4396
  width: "1000",
4391
4397
  "align-center": "",
4392
4398
  "destroy-on-close": "",
@@ -4397,12 +4403,12 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4397
4403
  "show-close": !1
4398
4404
  }, {
4399
4405
  header: D(({ titleId: M, titleClass: nu }) => [
4400
- V("div", Sa, [
4401
- V("div", Ia, [
4406
+ V("div", Io, [
4407
+ V("div", Oo, [
4402
4408
  V("span", {
4403
4409
  id: M,
4404
4410
  class: lu(nu)
4405
- }, " 因子筛选 ", 10, Oa),
4411
+ }, " 因子筛选 ", 10, Vo),
4406
4412
  y(T, {
4407
4413
  effect: "dark",
4408
4414
  content: "点击查看: 因子使用说明",
@@ -4413,7 +4419,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4413
4419
  onClick: b[2] || (b[2] = (R) => l.value = !0)
4414
4420
  }, {
4415
4421
  default: D(() => [
4416
- y(O(ht))
4422
+ y(O(bt))
4417
4423
  ]),
4418
4424
  _: 1
4419
4425
  })
@@ -4421,8 +4427,8 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4421
4427
  _: 1
4422
4428
  }),
4423
4429
  y(q, {
4424
- modelValue: o.value,
4425
- "onUpdate:modelValue": b[3] || (b[3] = (R) => o.value = R),
4430
+ modelValue: a.value,
4431
+ "onUpdate:modelValue": b[3] || (b[3] = (R) => a.value = R),
4426
4432
  size: "small"
4427
4433
  }, {
4428
4434
  default: D(() => [
@@ -4441,11 +4447,11 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4441
4447
  size: "small",
4442
4448
  onInsert: h
4443
4449
  }, null, 512), [
4444
- [s0, o.value === "脚本"]
4450
+ [s0, a.value === "脚本"]
4445
4451
  ])
4446
4452
  ]),
4447
- V("div", Va, [
4448
- o.value === "脚本" ? (E(), P(I, {
4453
+ V("div", $o, [
4454
+ a.value === "脚本" ? (E(), P(I, {
4449
4455
  key: 0,
4450
4456
  size: "small",
4451
4457
  type: "primary",
@@ -4457,10 +4463,10 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4457
4463
  _: 1
4458
4464
  })) : U("", !0),
4459
4465
  y(v, {
4460
- onClick: b[4] || (b[4] = (R) => a.value = !1)
4466
+ onClick: b[4] || (b[4] = (R) => o.value = !1)
4461
4467
  }, {
4462
4468
  default: D(() => [
4463
- y(O(mt))
4469
+ y(O(ht))
4464
4470
  ]),
4465
4471
  _: 1
4466
4472
  })
@@ -4468,7 +4474,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4468
4474
  ])
4469
4475
  ]),
4470
4476
  footer: D(() => [
4471
- V("div", za, [
4477
+ V("div", Lo, [
4472
4478
  y(I, {
4473
4479
  type: "primary",
4474
4480
  onClick: s
@@ -4481,7 +4487,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4481
4487
  ])
4482
4488
  ]),
4483
4489
  default: D(() => [
4484
- o.value === "模版" ? (E(), P(X, {
4490
+ a.value === "模版" ? (E(), P(X, {
4485
4491
  key: 0,
4486
4492
  height: "400px"
4487
4493
  }, {
@@ -4492,8 +4498,8 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4492
4498
  model: i.value
4493
4499
  }, {
4494
4500
  default: D(() => [
4495
- (E(!0), S(z, null, Z(i.value.list, (M, nu) => (E(), S("div", $a, [
4496
- V("span", Ra, uu(`条件${nu + 1}`), 1),
4501
+ (E(!0), S(z, null, Z(i.value.list, (M, nu) => (E(), S("div", Ro, [
4502
+ V("span", Mo, uu(`条件${nu + 1}`), 1),
4497
4503
  M.key === "compare" ? (E(), S(z, { key: 0 }, [
4498
4504
  u.config.cycleShow ? (E(), P(H, {
4499
4505
  key: 0,
@@ -4683,14 +4689,14 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4683
4689
  style: { width: "200px", "margin-right": "10px" }
4684
4690
  }, {
4685
4691
  default: D(() => [
4686
- V("div", Ma, [
4692
+ V("div", qo, [
4687
4693
  y(xu, {
4688
4694
  modelValue: M.score[0],
4689
4695
  "onUpdate:modelValue": (R) => M.score[0] = R,
4690
4696
  size: "small",
4691
4697
  "controls-position": "right"
4692
4698
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
4693
- qa,
4699
+ Bo,
4694
4700
  y(xu, {
4695
4701
  modelValue: M.score[1],
4696
4702
  "onUpdate:modelValue": (R) => M.score[1] = R,
@@ -4706,7 +4712,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4706
4712
  onClick: (R) => p(nu)
4707
4713
  }, {
4708
4714
  default: D(() => [
4709
- y(O(xt))
4715
+ y(O(mt))
4710
4716
  ]),
4711
4717
  _: 2
4712
4718
  }, 1032, ["onClick"])
@@ -4779,7 +4785,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4779
4785
  type: "textarea",
4780
4786
  style: { "margin-bottom": "10px" }
4781
4787
  }, null, 8, ["modelValue"]),
4782
- Ba
4788
+ zo
4783
4789
  ], 64)) : U("", !0)
4784
4790
  ], 64)) : U("", !0)
4785
4791
  ]),
@@ -4789,9 +4795,9 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4789
4795
  _: 1
4790
4796
  })) : U("", !0),
4791
4797
  V("div", {
4792
- style: i0([{ width: "968px", height: "400px" }, o.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
4798
+ style: i0([{ width: "968px", height: "400px" }, a.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
4793
4799
  }, [
4794
- y(gt, {
4800
+ y(_t, {
4795
4801
  ref_key: "monacoEditorRef",
4796
4802
  ref: n,
4797
4803
  language: "lua",
@@ -4802,10 +4808,10 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4802
4808
  _: 1
4803
4809
  }, 8, ["modelValue"])
4804
4810
  ]),
4805
- y(Aa, {
4811
+ y(wo, {
4806
4812
  visible: l.value,
4807
4813
  "onUpdate:visible": b[9] || (b[9] = (M) => l.value = M),
4808
- factorType: o.value,
4814
+ factorType: a.value,
4809
4815
  data: (Ie = u.config.factorDescriptions) == null ? void 0 : Ie.filter((M) => [1, 3].includes(M.type))
4810
4816
  }, null, 8, ["visible", "factorType", "data"]),
4811
4817
  y(K0, {
@@ -4815,20 +4821,20 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4815
4821
  ], 64);
4816
4822
  };
4817
4823
  }
4818
- }, Pa = /* @__PURE__ */ ke(La, [["__scopeId", "data-v-deab9c48"]]);
4819
- const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
4824
+ }, Uo = /* @__PURE__ */ ke(Po, [["__scopeId", "data-v-deab9c48"]]);
4825
+ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), No = {
4820
4826
  key: 0,
4821
4827
  class: "common-indicator"
4822
- }, Na = { class: "indicator" }, ja = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("div", { class: "title" }, [
4828
+ }, jo = { class: "indicator" }, Zo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("div", { class: "title" }, [
4823
4829
  /* @__PURE__ */ V("span", null, "常用指标: "),
4824
4830
  /* @__PURE__ */ V("span", null, "不限")
4825
- ], -1)), Za = { class: "options" }, Ha = ["onClick"], Ga = { class: "tags" }, Ja = ["onClick"], Wa = { style: { "font-size": "18px" } }, Qa = {
4831
+ ], -1)), Ho = { class: "options" }, Go = ["onClick"], Jo = { class: "tags" }, Wo = ["onClick"], Qo = { style: { "font-size": "18px" } }, Yo = {
4826
4832
  key: 0,
4827
4833
  class: "out-box"
4828
- }, Ya = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Ka = {
4834
+ }, Ko = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Xo = {
4829
4835
  key: 0,
4830
4836
  class: "convenient-option-box"
4831
- }, Xa = { class: "out-box" }, uo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), eo = { key: 0 }, to = { key: 0 }, no = { key: 0 }, ro = { key: 1 }, ao = { class: "tFeaturelncomes-option-box" }, oo = { class: "tFeaturelncomes-out-box" }, lo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), io = { key: 2 }, co = { key: 3 }, so = { key: 4 }, fo = { key: 5 }, po = { key: 6 }, bo = { style: { display: "flex", "align-items": "center" } }, ho = { key: 7 }, mo = { class: "dialog-footer" }, xo = {
4837
+ }, ua = { class: "out-box" }, ea = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), ta = { key: 0 }, na = { key: 0 }, ra = { key: 0 }, oa = { key: 1 }, aa = { class: "tFeaturelncomes-option-box" }, la = { class: "tFeaturelncomes-out-box" }, ia = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), ca = { key: 2 }, sa = { key: 3 }, da = { key: 4 }, fa = { key: 5 }, pa = { key: 6 }, ba = { style: { display: "flex", "align-items": "center" } }, ha = { key: 7 }, ma = { class: "dialog-footer" }, xa = {
4832
4838
  __name: "index",
4833
4839
  props: /* @__PURE__ */ ju({
4834
4840
  config: { type: Object, default: () => {
@@ -4854,10 +4860,10 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
4854
4860
  { label: "保留意见", value: 2 },
4855
4861
  { label: "否定意见", value: 3 },
4856
4862
  { label: "无法表示意见", value: 4 }
4857
- ], n = Zu(u, "data"), r = u, a = eu(!1), l = Q(() => {
4863
+ ], n = Zu(u, "data"), r = u, o = eu(!1), l = Q(() => {
4858
4864
  var A;
4859
4865
  return (A = r.data.find((h) => h.radioType === "1")) == null ? void 0 : A.key;
4860
- }), o = Q(() => {
4866
+ }), a = Q(() => {
4861
4867
  let A = [];
4862
4868
  return r.varietyMarket === null && !r.commonOption.length ? A = r.config.options : (A = r.config.options, r.varietyMarket && (A = A.filter(({ parent: h }) => h.varietyMarketIds.includes(r.varietyMarket))), r.commonOption.length && (A = A.filter(({ parent: h }) => {
4863
4869
  const { commonOptionIds: k } = h;
@@ -4933,7 +4939,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
4933
4939
  // 默认排名
4934
4940
  };
4935
4941
  }
4936
- a.value = !0;
4942
+ o.value = !0;
4937
4943
  }, s = () => {
4938
4944
  var h, k;
4939
4945
  switch (i.value.key) {
@@ -5020,9 +5026,9 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5020
5026
  }
5021
5027
  }
5022
5028
  const A = n.value.findIndex(({ key: b }) => b === i.value.key);
5023
- A === -1 ? n.value.push(i.value) : n.value.splice(A, 1, i.value), a.value = !1;
5029
+ A === -1 ? n.value.push(i.value) : n.value.splice(A, 1, i.value), o.value = !1;
5024
5030
  }, p = (A) => {
5025
- c.value = o.value.find(({ key: h }) => h === A.key), i.value = JSON.parse(JSON.stringify(A)), a.value = !0;
5031
+ c.value = a.value.find(({ key: h }) => h === A.key), i.value = JSON.parse(JSON.stringify(A)), o.value = !0;
5026
5032
  }, m = (A) => {
5027
5033
  n.value.splice(A, 1);
5028
5034
  }, d = (A) => {
@@ -5073,9 +5079,9 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5073
5079
  }
5074
5080
  };
5075
5081
  vu(
5076
- () => o.value,
5082
+ () => a.value,
5077
5083
  () => {
5078
- n.value.length && (n.value = n.value.filter(({ key: A }) => o.value.find((h) => h.key === A)));
5084
+ n.value.length && (n.value = n.value.filter(({ key: A }) => a.value.find((h) => h.key === A)));
5079
5085
  }
5080
5086
  );
5081
5087
  const $ = () => {
@@ -5083,17 +5089,17 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5083
5089
  };
5084
5090
  return (A, h) => {
5085
5091
  const k = h0, b = D0, x = ve, g = d0, _ = p0, I = fe, v = pe, T = ye, F = f0, q = ge;
5086
- return u.config.show && o.value.length ? (E(), S("div", Ua, [
5087
- V("div", Na, [
5088
- ja,
5089
- V("div", Za, [
5090
- (E(!0), S(z, null, Z(o.value, (B) => (E(), S("span", {
5092
+ return u.config.show && a.value.length ? (E(), S("div", No, [
5093
+ V("div", jo, [
5094
+ Zo,
5095
+ V("div", Ho, [
5096
+ (E(!0), S(z, null, Z(a.value, (B) => (E(), S("span", {
5091
5097
  key: B.key,
5092
5098
  onClick: (C) => f(B)
5093
- }, uu(B.label), 9, Ha))), 128))
5099
+ }, uu(B.label), 9, Go))), 128))
5094
5100
  ])
5095
5101
  ]),
5096
- V("div", Ga, [
5102
+ V("div", Jo, [
5097
5103
  (E(!0), S(z, null, Z(n.value, (B, C) => (E(), P(k, {
5098
5104
  closable: "",
5099
5105
  type: "info",
@@ -5104,21 +5110,21 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5104
5110
  V("span", {
5105
5111
  class: "edit",
5106
5112
  onClick: (N) => p(B)
5107
- }, "编辑", 8, Ja)
5113
+ }, "编辑", 8, Wo)
5108
5114
  ]),
5109
5115
  _: 2
5110
5116
  }, 1032, ["onClose"]))), 256))
5111
5117
  ]),
5112
5118
  y(q, {
5113
- modelValue: a.value,
5114
- "onUpdate:modelValue": h[26] || (h[26] = (B) => a.value = B),
5119
+ modelValue: o.value,
5120
+ "onUpdate:modelValue": h[26] || (h[26] = (B) => o.value = B),
5115
5121
  title: c.value.label,
5116
5122
  width: "600",
5117
5123
  "align-center": "",
5118
5124
  "destroy-on-close": ""
5119
5125
  }, Ku({
5120
5126
  footer: D(() => [
5121
- V("div", mo, [
5127
+ V("div", ma, [
5122
5128
  y(_, {
5123
5129
  type: "primary",
5124
5130
  onClick: s
@@ -5133,8 +5139,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5133
5139
  default: D(() => {
5134
5140
  var B;
5135
5141
  return [
5136
- c.value.type === void 0 && i.value.radioType === "1" ? (E(), S("div", Qa, [
5137
- Ya,
5142
+ c.value.type === void 0 && i.value.radioType === "1" ? (E(), S("div", Yo, [
5143
+ Ko,
5138
5144
  y(g, {
5139
5145
  modelValue: i.value.rankRange[0],
5140
5146
  "onUpdate:modelValue": h[2] || (h[2] = (C) => i.value.rankRange[0] = C),
@@ -5147,7 +5153,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5147
5153
  style: { flex: "1" }
5148
5154
  }, null, 8, ["modelValue"])
5149
5155
  ])) : c.value.type === void 0 ? (E(), S(z, { key: 1 }, [
5150
- (B = c.value.convenientOptions) != null && B.length ? (E(), S("div", Ka, [
5156
+ (B = c.value.convenientOptions) != null && B.length ? (E(), S("div", Xo, [
5151
5157
  (E(!0), S(z, null, Z(c.value.convenientOptions, (C) => (E(), P(_, {
5152
5158
  key: C.text,
5153
5159
  onClick: (N) => d(C)
@@ -5158,8 +5164,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5158
5164
  _: 2
5159
5165
  }, 1032, ["onClick"]))), 128))
5160
5166
  ])) : U("", !0),
5161
- V("div", Xa, [
5162
- uo,
5167
+ V("div", ua, [
5168
+ ea,
5163
5169
  y(g, {
5164
5170
  modelValue: i.value.range[0],
5165
5171
  "onUpdate:modelValue": h[5] || (h[5] = (C) => i.value.range[0] = C),
@@ -5168,7 +5174,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5168
5174
  c.value.unitOptions.length ? {
5169
5175
  name: "append",
5170
5176
  fn: D(() => [
5171
- c.value.unitOptions.length === 1 ? (E(), S("span", eo, uu(i.value.unit[0]), 1)) : (E(), P(v, {
5177
+ c.value.unitOptions.length === 1 ? (E(), S("span", ta, uu(i.value.unit[0]), 1)) : (E(), P(v, {
5172
5178
  key: 1,
5173
5179
  modelValue: i.value.unit[0],
5174
5180
  "onUpdate:modelValue": h[4] || (h[4] = (C) => i.value.unit[0] = C),
@@ -5195,7 +5201,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5195
5201
  c.value.unitOptions.length ? {
5196
5202
  name: "append",
5197
5203
  fn: D(() => [
5198
- c.value.unitOptions.length === 1 ? (E(), S("span", to, uu(i.value.unit[1]), 1)) : (E(), P(v, {
5204
+ c.value.unitOptions.length === 1 ? (E(), S("span", na, uu(i.value.unit[1]), 1)) : (E(), P(v, {
5199
5205
  key: 1,
5200
5206
  modelValue: i.value.unit[1],
5201
5207
  "onUpdate:modelValue": h[6] || (h[6] = (C) => i.value.unit[1] = C),
@@ -5215,7 +5221,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5215
5221
  ]), 1032, ["modelValue"])
5216
5222
  ])
5217
5223
  ], 64)) : (E(), S(z, { key: 2 }, [
5218
- c.value.key === "st" ? (E(), S("div", no, [
5224
+ c.value.key === "st" ? (E(), S("div", ra, [
5219
5225
  y(x, {
5220
5226
  modelValue: i.value.st,
5221
5227
  "onUpdate:modelValue": h[8] || (h[8] = (C) => i.value.st = C)
@@ -5233,8 +5239,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5233
5239
  _: 1
5234
5240
  }, 8, ["modelValue"])
5235
5241
  ])) : U("", !0),
5236
- c.value.key === "tFeaturelncomes" ? (E(), S("div", ro, [
5237
- V("div", ao, [
5242
+ c.value.key === "tFeaturelncomes" ? (E(), S("div", oa, [
5243
+ V("div", aa, [
5238
5244
  y(_, {
5239
5245
  onClick: h[9] || (h[9] = (C) => w("≤0"))
5240
5246
  }, {
@@ -5276,8 +5282,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5276
5282
  _: 1
5277
5283
  })
5278
5284
  ]),
5279
- V("div", oo, [
5280
- lo,
5285
+ V("div", la, [
5286
+ ia,
5281
5287
  V("div", null, [
5282
5288
  y(F, {
5283
5289
  modelValue: i.value.withFewYears,
@@ -5300,7 +5306,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5300
5306
  ])
5301
5307
  ])
5302
5308
  ])) : U("", !0),
5303
- c.value.key === "priceLevels" ? (E(), S("div", io, [
5309
+ c.value.key === "priceLevels" ? (E(), S("div", ca, [
5304
5310
  y(v, {
5305
5311
  modelValue: i.value.priceLevels,
5306
5312
  "onUpdate:modelValue": h[17] || (h[17] = (C) => i.value.priceLevels = C),
@@ -5319,7 +5325,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5319
5325
  _: 1
5320
5326
  }, 8, ["modelValue"])
5321
5327
  ])) : U("", !0),
5322
- c.value.key === "peTtmLevels" ? (E(), S("div", co, [
5328
+ c.value.key === "peTtmLevels" ? (E(), S("div", sa, [
5323
5329
  y(v, {
5324
5330
  modelValue: i.value.peTtmLevels,
5325
5331
  "onUpdate:modelValue": h[18] || (h[18] = (C) => i.value.peTtmLevels = C),
@@ -5338,7 +5344,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5338
5344
  _: 1
5339
5345
  }, 8, ["modelValue"])
5340
5346
  ])) : U("", !0),
5341
- c.value.key === "optionsCpType" ? (E(), S("div", so, [
5347
+ c.value.key === "optionsCpType" ? (E(), S("div", da, [
5342
5348
  y(x, {
5343
5349
  modelValue: i.value.optionsCpType,
5344
5350
  "onUpdate:modelValue": h[19] || (h[19] = (C) => i.value.optionsCpType = C)
@@ -5356,7 +5362,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5356
5362
  _: 1
5357
5363
  }, 8, ["modelValue"])
5358
5364
  ])) : U("", !0),
5359
- c.value.key === "perVolumn" ? (E(), S("div", fo, [
5365
+ c.value.key === "perVolumn" ? (E(), S("div", fa, [
5360
5366
  y(x, {
5361
5367
  modelValue: i.value.radio,
5362
5368
  "onUpdate:modelValue": h[20] || (h[20] = (C) => i.value.radio = C)
@@ -5392,7 +5398,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5392
5398
  _: 1
5393
5399
  }, 8, ["modelValue"])
5394
5400
  ])) : U("", !0),
5395
- c.value.key === "mainFlow" ? (E(), S("div", po, [
5401
+ c.value.key === "mainFlow" ? (E(), S("div", pa, [
5396
5402
  y(x, {
5397
5403
  modelValue: i.value.radio,
5398
5404
  "onUpdate:modelValue": h[22] || (h[22] = (C) => i.value.radio = C)
@@ -5425,7 +5431,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5425
5431
  ]),
5426
5432
  _: 1
5427
5433
  }, 8, ["modelValue"]),
5428
- V("div", bo, [
5434
+ V("div", ba, [
5429
5435
  V("span", null, uu(i.value.radioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
5430
5436
  y(g, {
5431
5437
  modelValue: i.value.rankRange[0],
@@ -5440,7 +5446,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5440
5446
  }, null, 8, ["modelValue"])
5441
5447
  ])
5442
5448
  ])) : U("", !0),
5443
- c.value.key === "auditOpinionType" ? (E(), S("div", ho, [
5449
+ c.value.key === "auditOpinionType" ? (E(), S("div", ha, [
5444
5450
  y(x, {
5445
5451
  modelValue: i.value.enumType,
5446
5452
  "onUpdate:modelValue": h[25] || (h[25] = (C) => i.value.enumType = C)
@@ -5463,7 +5469,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5463
5469
  c.value.showRankType ? {
5464
5470
  name: "header",
5465
5471
  fn: D(() => [
5466
- V("span", Wa, uu(c.value.label), 1),
5472
+ V("span", Qo, uu(c.value.label), 1),
5467
5473
  y(x, {
5468
5474
  modelValue: i.value.radioType,
5469
5475
  "onUpdate:modelValue": h[0] || (h[0] = (B) => i.value.radioType = B),
@@ -5514,26 +5520,26 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5514
5520
  ])) : U("", !0);
5515
5521
  };
5516
5522
  }
5517
- }, _o = /* @__PURE__ */ ke(xo, [["__scopeId", "data-v-3e69da40"]]);
5518
- const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "variety-search" }, ko = {
5523
+ }, _a = /* @__PURE__ */ ke(xa, [["__scopeId", "data-v-3e69da40"]]);
5524
+ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), ga = { class: "variety-search" }, ka = {
5519
5525
  key: 0,
5520
5526
  class: "variety-search-row"
5521
- }, yo = { class: "title" }, vo = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "品种市场: ", -1)), Co = {
5527
+ }, ya = { class: "title" }, va = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "品种市场: ", -1)), Ca = {
5522
5528
  key: 1,
5523
5529
  class: "variety-search-row"
5524
- }, Eo = { class: "title" }, Do = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "常用选项: ", -1)), Fo = {
5530
+ }, Ea = { class: "title" }, Da = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "常用选项: ", -1)), Fa = {
5525
5531
  key: 2,
5526
5532
  class: "variety-search-row"
5527
- }, Ao = { class: "title" }, wo = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "上市板块: ", -1)), To = {
5533
+ }, Aa = { class: "title" }, wa = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "上市板块: ", -1)), Ta = {
5528
5534
  key: 3,
5529
5535
  class: "variety-search-row"
5530
- }, So = { class: "title" }, Io = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "自定标签: ", -1)), Oo = {
5536
+ }, Sa = { class: "title" }, Ia = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "自定标签: ", -1)), Oa = {
5531
5537
  key: 4,
5532
5538
  class: "variety-search-row"
5533
- }, Vo = { class: "title" }, $o = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "价差转换: ", -1)), Ro = {
5539
+ }, Va = { class: "title" }, $a = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "价差转换: ", -1)), Ra = {
5534
5540
  key: 5,
5535
5541
  class: "variety-search-row"
5536
- }, Mo = { class: "title" }, qo = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "因子筛选: ", -1)), Bo = {
5542
+ }, Ma = { class: "title" }, qa = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "因子筛选: ", -1)), Ba = {
5537
5543
  __name: "index",
5538
5544
  props: /* @__PURE__ */ ju({ config: { type: Object, default: {} } }, {
5539
5545
  searchData: {},
@@ -5572,13 +5578,13 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5572
5578
  const m = Be[p], d = t.config[p] ?? {}, w = { ...m, ...d };
5573
5579
  s[p] = w;
5574
5580
  }), s;
5575
- }), a = Q(() => r.value.varietyMarket.options), l = Q(() => {
5581
+ }), o = Q(() => r.value.varietyMarket.options), l = Q(() => {
5576
5582
  const { varietyMarket: s } = n.value;
5577
- return s ? a.value.find(({ value: m }) => m === s).memo.reduce((m, d) => {
5583
+ return s ? o.value.find(({ value: m }) => m === s).memo.reduce((m, d) => {
5578
5584
  const w = r.value.commonOption.options.find(($) => $.value === d);
5579
5585
  return w && m.push(w), m;
5580
5586
  }, []) : r.value.commonOption.options;
5581
- }), o = Q(() => {
5587
+ }), a = Q(() => {
5582
5588
  const { varietyMarket: s } = n.value;
5583
5589
  return s ? r.value.marketIds.options.filter((p) => p.varietyMarketIds.includes(s)) : r.value.marketIds.options;
5584
5590
  }), c = Q(() => r.value.customTag.options), i = Q(() => r.value.jcTranslate.jcOptions), f = (s) => {
@@ -5628,7 +5634,7 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5628
5634
  (p = n.value.commonOption) != null && p.length && (n.value.commonOption = n.value.commonOption.filter((m) => s.find(({ value: d }) => d === m)));
5629
5635
  }
5630
5636
  ), vu(
5631
- () => o.value,
5637
+ () => a.value,
5632
5638
  (s) => {
5633
5639
  var p;
5634
5640
  (p = n.value.marketIds) != null && p.length && (n.value.marketIds = n.value.marketIds.filter((m) => s.find(({ value: d }) => d === m)));
@@ -5837,11 +5843,11 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5837
5843
  }
5838
5844
  }), (s, p) => {
5839
5845
  var k, b, x, g, _, I;
5840
- const m = ye, d = ve, w = at, $ = ot, A = fe, h = pe;
5841
- return E(), S("div", go, [
5842
- (k = r.value.varietyMarket) != null && k.show ? (E(), S("div", ko, [
5843
- V("div", yo, [
5844
- vo,
5846
+ const m = ye, d = ve, w = ot, $ = at, A = fe, h = pe;
5847
+ return E(), S("div", ga, [
5848
+ (k = r.value.varietyMarket) != null && k.show ? (E(), S("div", ka, [
5849
+ V("div", ya, [
5850
+ va,
5845
5851
  V("span", {
5846
5852
  onClick: p[0] || (p[0] = (v) => f("varietyMarket"))
5847
5853
  }, "不限")
@@ -5852,7 +5858,7 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5852
5858
  size: "small"
5853
5859
  }, {
5854
5860
  default: D(() => [
5855
- (E(!0), S(z, null, Z(a.value, ({ label: v, value: T }) => (E(), P(m, {
5861
+ (E(!0), S(z, null, Z(o.value, ({ label: v, value: T }) => (E(), P(m, {
5856
5862
  label: v,
5857
5863
  value: T,
5858
5864
  key: T
@@ -5861,9 +5867,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5861
5867
  _: 1
5862
5868
  }, 8, ["modelValue"])
5863
5869
  ])) : U("", !0),
5864
- (b = r.value.commonOption) != null && b.show && l.value.length ? (E(), S("div", Co, [
5865
- V("div", Eo, [
5866
- Do,
5870
+ (b = r.value.commonOption) != null && b.show && l.value.length ? (E(), S("div", Ca, [
5871
+ V("div", Ea, [
5872
+ Da,
5867
5873
  V("span", {
5868
5874
  onClick: p[2] || (p[2] = (v) => f("commonOption"))
5869
5875
  }, "不限")
@@ -5883,9 +5889,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5883
5889
  _: 1
5884
5890
  }, 8, ["modelValue"])
5885
5891
  ])) : U("", !0),
5886
- (x = r.value.marketIds) != null && x.show && o.value.length ? (E(), S("div", Fo, [
5887
- V("div", Ao, [
5888
- wo,
5892
+ (x = r.value.marketIds) != null && x.show && a.value.length ? (E(), S("div", Fa, [
5893
+ V("div", Aa, [
5894
+ wa,
5889
5895
  V("span", {
5890
5896
  onClick: p[4] || (p[4] = (v) => f("marketIds"))
5891
5897
  }, "不限")
@@ -5896,7 +5902,7 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5896
5902
  size: "small"
5897
5903
  }, {
5898
5904
  default: D(() => [
5899
- (E(!0), S(z, null, Z(o.value, ({ label: v, value: T }) => (E(), P(w, {
5905
+ (E(!0), S(z, null, Z(a.value, ({ label: v, value: T }) => (E(), P(w, {
5900
5906
  label: v,
5901
5907
  value: T,
5902
5908
  key: T
@@ -5905,9 +5911,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5905
5911
  _: 1
5906
5912
  }, 8, ["modelValue"])
5907
5913
  ])) : U("", !0),
5908
- (g = r.value.customTag) != null && g.show && c.value.length ? (E(), S("div", To, [
5909
- V("div", So, [
5910
- Io,
5914
+ (g = r.value.customTag) != null && g.show && c.value.length ? (E(), S("div", Ta, [
5915
+ V("div", Sa, [
5916
+ Ia,
5911
5917
  V("span", {
5912
5918
  onClick: p[6] || (p[6] = (v) => f("customTag"))
5913
5919
  }, "不限")
@@ -5927,9 +5933,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5927
5933
  _: 1
5928
5934
  }, 8, ["modelValue"])
5929
5935
  ])) : U("", !0),
5930
- (_ = r.value.jcTranslate) != null && _.show ? (E(), S("div", Oo, [
5931
- V("div", Vo, [
5932
- $o,
5936
+ (_ = r.value.jcTranslate) != null && _.show ? (E(), S("div", Oa, [
5937
+ V("div", Va, [
5938
+ $a,
5933
5939
  V("span", {
5934
5940
  onClick: p[8] || (p[8] = (v) => f("jcTranslate"))
5935
5941
  }, "不限")
@@ -5977,20 +5983,20 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5977
5983
  [s0, n.value.jcTranslate.type === 1]
5978
5984
  ])
5979
5985
  ])) : U("", !0),
5980
- (I = r.value.factorScreen) != null && I.show ? (E(), S("div", Ro, [
5981
- V("div", Mo, [
5982
- qo,
5986
+ (I = r.value.factorScreen) != null && I.show ? (E(), S("div", Ra, [
5987
+ V("div", Ma, [
5988
+ qa,
5983
5989
  V("span", {
5984
5990
  onClick: p[11] || (p[11] = (v) => f("factorScreen"))
5985
5991
  }, "不限")
5986
5992
  ]),
5987
- y(Pa, {
5993
+ y(Uo, {
5988
5994
  data: n.value.factorScreen,
5989
5995
  "onUpdate:data": p[12] || (p[12] = (v) => n.value.factorScreen = v),
5990
5996
  config: r.value.factorScreen
5991
5997
  }, null, 8, ["data", "config"])
5992
5998
  ])) : U("", !0),
5993
- y(_o, {
5999
+ y(_a, {
5994
6000
  data: n.value.commonIndicator,
5995
6001
  "onUpdate:data": p[13] || (p[13] = (v) => n.value.commonIndicator = v),
5996
6002
  varietyMarket: n.value.varietyMarket,
@@ -6000,11 +6006,11 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
6000
6006
  ]);
6001
6007
  };
6002
6008
  }
6003
- }, zo = /* @__PURE__ */ ke(Bo, [["__scopeId", "data-v-efd872de"]]), El = {
6009
+ }, za = /* @__PURE__ */ ke(Ba, [["__scopeId", "data-v-efd872de"]]), Sl = {
6004
6010
  install(u) {
6005
- u.component("st-varietySearch", zo);
6011
+ u.component("st-varietySearch", za);
6006
6012
  }
6007
6013
  };
6008
6014
  export {
6009
- El as default
6015
+ Sl as default
6010
6016
  };