(e3, t3, i3)
| 276 | } |
| 277 | } |
| 278 | _checkLinkProviderResult(e3, t3, i3) { |
| 279 | var _a; |
| 280 | if (!this._activeProviderReplies) return i3; |
| 281 | const s3 = this._activeProviderReplies.get(e3); |
| 282 | let r2 = false; |
| 283 | for (let t4 = 0; t4 < e3; t4++) this._activeProviderReplies.has(t4) && !this._activeProviderReplies.get(t4) || (r2 = true); |
| 284 | if (!r2 && s3) { |
| 285 | const e4 = s3.find(((e5) => this._linkAtPosition(e5.link, t3))); |
| 286 | e4 && (i3 = true, this._handleNewLink(e4)); |
| 287 | } |
| 288 | if (this._activeProviderReplies.size === this._linkProviderService.linkProviders.length && !i3) for (let e4 = 0; e4 < this._activeProviderReplies.size; e4++) { |
| 289 | const s4 = (_a = this._activeProviderReplies.get(e4)) == null ? void 0 : _a.find(((e5) => this._linkAtPosition(e5.link, t3))); |
| 290 | if (s4) { |
| 291 | i3 = true, this._handleNewLink(s4); |
| 292 | break; |
| 293 | } |
| 294 | } |
| 295 | return i3; |
| 296 | } |
| 297 | _handleMouseDown() { |
| 298 | this._mouseDownLink = this._currentLink; |
| 299 | } |
no test coverage detected