@danxbot/ui 6.4.4 → 6.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35164,18 +35164,19 @@ function X$(e, t, n) {
|
|
|
35164
35164
|
return { start: e[t].start, end: Pt(e[n]) };
|
|
35165
35165
|
}
|
|
35166
35166
|
function vg(e, t, n, r) {
|
|
35167
|
-
|
|
35168
|
-
|
|
35169
|
-
|
|
35170
|
-
|
|
35171
|
-
|
|
35172
|
-
|
|
35173
|
-
|
|
35174
|
-
|
|
35175
|
-
|
|
35176
|
-
|
|
35177
|
-
|
|
35178
|
-
|
|
35167
|
+
const o = t.length > 0 && t[t.length - 1].start + t[t.length - 1].text.length === t[0].start;
|
|
35168
|
+
if (!e.sink || !t.length || o) return Ny(n, e.refs, e.sink, r);
|
|
35169
|
+
const s = [];
|
|
35170
|
+
for (let l = 0; l < t.length; l++) {
|
|
35171
|
+
const c = t[l], u = c.start + c.text.length;
|
|
35172
|
+
if (s.push({ start: c.start, end: u }), l === t.length - 1) break;
|
|
35173
|
+
let m = u;
|
|
35174
|
+
e.source[m] === "\r" && m++, e.source[m] === `
|
|
35175
|
+
` && m++, m > u && s.push({ start: u, end: m });
|
|
35176
|
+
}
|
|
35177
|
+
zt(e, { kind: "inline" }, t[0].start, s);
|
|
35178
|
+
const i = Ny(n, e.refs, e.sink, r), a = t[t.length - 1];
|
|
35179
|
+
return Nr(e, a.start + a.text.length), i;
|
|
35179
35180
|
}
|
|
35180
35181
|
function Pt(e) {
|
|
35181
35182
|
return e.start + e.text.length;
|