(t)
| 4527 | ); |
| 4528 | } |
| 4529 | function ne(t) { |
| 4530 | var e = -1 !== t.indexOf("x"), |
| 4531 | n = -1 !== t.indexOf("y"); |
| 4532 | return function (t, i) { |
| 4533 | var a = e ? Math.abs(t.x - i.x) : 0, |
| 4534 | r = n ? Math.abs(t.y - i.y) : 0; |
| 4535 | return Math.sqrt(Math.pow(a, 2) + Math.pow(r, 2)); |
| 4536 | }; |
| 4537 | } |
| 4538 | function ie(t, e, n) { |
| 4539 | var i = Jt(e, t); |
| 4540 | n.axis = n.axis || "x"; |