(t, e)
| 5864 | const du = { kde: ps, mixture: xs, normal: ds, lognormal: _s, uniform: Ms }, |
| 5865 | pu = "function"; |
| 5866 | function gu(t, e) { |
| 5867 | const n = t[pu]; |
| 5868 | ut(du, n) || s("Unknown distribution function: " + n); |
| 5869 | const r = du[n](); |
| 5870 | for (const n in t) |
| 5871 | "field" === n |
| 5872 | ? r.data((t.from || e()).map(t[n])) |
| 5873 | : "distributions" === n |
| 5874 | ? r[n](t[n].map((t) => gu(t, e))) |
| 5875 | : typeof r[n] === pu && r[n](t[n]); |
| 5876 | return r; |
| 5877 | } |
| 5878 | function mu(t) { |
| 5879 | Xa.call(this, null, t); |
| 5880 | } |