(e, t)
| 12856 | } else o.setWithExplicit(t, { explicit: !1, value: void 0 }); |
| 12857 | } |
| 12858 | function dp(e, t) { |
| 12859 | const n = "width" === t ? "x" : "y", |
| 12860 | i = e.config, |
| 12861 | r = e.getScaleComponent(n); |
| 12862 | if (r) { |
| 12863 | const e = r.get("type"), |
| 12864 | n = r.get("range"); |
| 12865 | if (kr(e)) { |
| 12866 | const e = Is(i.view, t); |
| 12867 | return kn(n) || Rs(e) ? "step" : e; |
| 12868 | } |
| 12869 | return Us(i.view, t); |
| 12870 | } |
| 12871 | if (e.hasProjection || "arc" === e.mark) return Us(i.view, t); |
| 12872 | { |
| 12873 | const e = Is(i.view, t); |
| 12874 | return Rs(e) ? e.step : e; |
| 12875 | } |
| 12876 | } |
| 12877 | function mp(e, t, n) { |
| 12878 | return ma(t, { suffix: `by_${ma(e)}`, ...n }); |
| 12879 | } |
no test coverage detected