| 30321 | ); |
| 30322 | } |
| 30323 | function UN(t, e, n, r, i, o) { |
| 30324 | const a = {}; |
| 30325 | (((o = o || {}).encoders = { $encode: a }), |
| 30326 | (t = (function (t, e, n, r, i) { |
| 30327 | const o = {}, |
| 30328 | a = {}; |
| 30329 | let s, u, l, c; |
| 30330 | for (u in ((u = "lineBreak"), |
| 30331 | "text" !== e || null == i[u] || hN(u, t) || TN(o, u, i[u]), |
| 30332 | ("legend" == n || String(n).startsWith("axis")) && (n = null), |
| 30333 | (c = n === pN ? i.group : n === dN ? ot({}, i.mark, i[e]) : null), |
| 30334 | c)) |
| 30335 | ((l = |
| 30336 | hN(u, t) || |
| 30337 | (("fill" === u || "stroke" === u) && |
| 30338 | (hN("fill", t) || hN("stroke", t)))), |
| 30339 | l || TN(o, u, c[u])); |
| 30340 | for (u in (V(r).forEach((e) => { |
| 30341 | const n = i.style && i.style[e]; |
| 30342 | for (const e in n) hN(e, t) || TN(o, e, n[e]); |
| 30343 | }), |
| 30344 | (t = ot({}, t)), |
| 30345 | o)) |
| 30346 | ((c = o[u]), c.signal ? ((s = s || {})[u] = c) : (a[u] = c)); |
| 30347 | return ( |
| 30348 | (t.enter = ot(a, t.enter)), |
| 30349 | s && (t.update = ot(s, t.update)), |
| 30350 | t |
| 30351 | ); |
| 30352 | })(t, e, n, r, i.config))); |
| 30353 | for (const n in t) a[n] = qN(t[n], e, o, i); |
| 30354 | return o; |
| 30355 | } |
| 30356 | function qN(t, e, n, r) { |
| 30357 | const i = {}, |
| 30358 | o = {}; |