(e)
| 19326 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 19327 | // Licensed under the MIT license. |
| 19328 | function hasClientXY(e) { |
| 19329 | if (e && e.clientX !== undefined && e.clientX !== undefined) return { |
| 19330 | top: e.clientY, |
| 19331 | left: e.clientX |
| 19332 | }; |
| 19333 | } |
| 19334 | function getPosition(e) { |
| 19335 | let xy = hasClientXY(e); |
| 19336 | if (xy) return xy; |