| 11480 | return t.bins ? $p(t, t.bins, e) : t.ticks ? t.ticks(e) : t.domain(); |
| 11481 | } |
| 11482 | function Bp(t, e, n, r, i, o) { |
| 11483 | const a = e.type; |
| 11484 | let s = Dp; |
| 11485 | if (a === Od || i === Od) s = t.timeFormat(r); |
| 11486 | else if (a === Rd || i === Rd) s = t.utcFormat(r); |
| 11487 | else if (hp(a)) { |
| 11488 | const i = t.formatFloat(r); |
| 11489 | if (o || e.bins) s = i; |
| 11490 | else { |
| 11491 | const t = zp(e, n, !1); |
| 11492 | s = (e) => (t(e) ? i(e) : ""); |
| 11493 | } |
| 11494 | } else if (e.tickFormat) { |
| 11495 | const i = e.domain(); |
| 11496 | s = t.formatSpan(i[0], i[i.length - 1], n, r); |
| 11497 | } else r && (s = t.format(r)); |
| 11498 | return s; |
| 11499 | } |
| 11500 | function zp(t, e, n) { |
| 11501 | const r = Tp(t, e), |
| 11502 | i = t.base(), |