(e3, t3, r, i)
| 6224 | } |
| 6225 | }, e4))); |
| 6226 | } |
| 6227 | }; |
| 6228 | class o2 { |
| 6229 | static computeLink(e3, t3, r, i) { |
| 6230 | const s = new RegExp(t3.source, (t3.flags || "") + "g"), [a, c] = o2._getWindowedLineStrings(e3 - 1, r), l = a.join(""); |
| 6231 | let d; |
| 6232 | const p = []; |
| 6233 | for (; d = s.exec(l); ) { |
| 6234 | const e4 = d[0]; |
| 6235 | if (!n2(e4)) continue; |
| 6236 | const [t4, s2] = o2._mapStrIdx(r, c, 0, d.index), [a2, l2] = o2._mapStrIdx(r, t4, s2, e4.length); |
| 6237 | if (-1 === t4 || -1 === s2 || -1 === a2 || -1 === l2) continue; |
| 6238 | const h = { start: { x: s2 + 1, y: t4 + 1 }, end: { x: l2, y: a2 + 1 } }; |
| 6239 | p.push({ range: h, text: e4, activate: i }); |
| 6240 | } |
| 6241 | return p; |
| 6242 | } |
no test coverage detected