(e, t)
| 13535 | "tickMinStep", |
| 13536 | ]); |
| 13537 | function Op(e, t) { |
| 13538 | let n = t.axis(e); |
| 13539 | const i = new $p(), |
| 13540 | r = ka(t.encoding[e]), |
| 13541 | { mark: o, config: a } = t, |
| 13542 | s = |
| 13543 | n?.orient || |
| 13544 | a["x" === e ? "axisX" : "axisY"]?.orient || |
| 13545 | a.axis?.orient || |
| 13546 | (function (e) { |
| 13547 | return "x" === e ? "bottom" : "left"; |
| 13548 | })(e), |
| 13549 | l = t.getScaleComponent(e).get("type"), |
| 13550 | c = (function (e, t, n, i) { |
| 13551 | const r = |
| 13552 | "band" === t |
| 13553 | ? ["axisDiscrete", "axisBand"] |
| 13554 | : "point" === t |
| 13555 | ? ["axisDiscrete", "axisPoint"] |
| 13556 | : br(t) |
| 13557 | ? ["axisQuantitative"] |
| 13558 | : "time" === t || "utc" === t |
| 13559 | ? ["axisTemporal"] |
| 13560 | : [], |
| 13561 | o = "x" === e ? "axisX" : "axisY", |
| 13562 | a = wn(n) ? "axisOrient" : `axis${N(n)}`, |
| 13563 | s = [...r, ...r.map((e) => o + e.substr(4))], |
| 13564 | l = ["axis", a, o]; |
| 13565 | return { |
| 13566 | vlOnlyAxisConfig: yf(s, i, e, n), |
| 13567 | vgAxisConfig: yf(l, i, e, n), |
| 13568 | axisConfigStyle: vf([...l, ...s], i), |
| 13569 | }; |
| 13570 | })(e, l, s, t.config), |
| 13571 | u = void 0 !== n ? !n : bf("disable", a.style, n?.style, c).configValue; |
| 13572 | if ((i.set("disable", u, void 0 !== n), u)) return i; |
| 13573 | n = n || {}; |
| 13574 | const f = (function (e, t, n, i, r) { |
| 13575 | const o = t?.labelAngle; |
| 13576 | if (void 0 !== o) return wn(o) ? o : H(o); |
| 13577 | { |
| 13578 | const { configValue: o } = bf("labelAngle", i, t?.style, r); |
| 13579 | return void 0 !== o |
| 13580 | ? H(o) |
| 13581 | : n !== te || !p([ur, lr], e.type) || (Zo(e) && e.timeUnit) |
| 13582 | ? void 0 |
| 13583 | : 270; |
| 13584 | } |
| 13585 | })(r, n, e, a.style, c), |
| 13586 | d = Po(n.formatType, r, l), |
| 13587 | m = _o(r, r.type, n.format, n.formatType, a, !0), |
| 13588 | g = { |
| 13589 | fieldOrDatumDef: r, |
| 13590 | axis: n, |
| 13591 | channel: e, |
| 13592 | model: t, |
| 13593 | scaleType: l, |
| 13594 | orient: s, |
no test coverage detected