| 7555 | } |
| 7556 | let Nl = class { |
| 7557 | constructor(t) { |
| 7558 | ((this._x0 = this._y0 = this._x1 = this._y1 = null), |
| 7559 | (this._ = ""), |
| 7560 | (this._append = |
| 7561 | null == t |
| 7562 | ? zl |
| 7563 | : (function (t) { |
| 7564 | let e = Math.floor(t); |
| 7565 | if (!(e >= 0)) throw new Error(`invalid digits: ${t}`); |
| 7566 | if (e > 15) return zl; |
| 7567 | const n = 10 ** e; |
| 7568 | return function (t) { |
| 7569 | this._ += t[0]; |
| 7570 | for (let e = 1, r = t.length; e < r; ++e) |
| 7571 | this._ += Math.round(arguments[e] * n) / n + t[e]; |
| 7572 | }; |
| 7573 | })(t))); |
| 7574 | } |
| 7575 | moveTo(t, e) { |
| 7576 | this |
| 7577 | ._append`M${(this._x0 = this._x1 = +t)},${(this._y0 = this._y1 = +e)}`; |