(e, t, n, r)
| 19287 | return i !== void 0 && (e.style.borderBottomRightRadius = i, e.style.borderTopRightRadius = i, delete e.style.borderRightRadius), e; |
| 19288 | } |
| 19289 | function Er(e, t, n, r) { |
| 19290 | let i = null; |
| 19291 | e === "inset" && (t = t.replace(/^(x|y)-/, (a, u2) => (i = u2 === "x" ? "x" : "y", ""))); |
| 19292 | let o = r == null ? void 0 : r[t]; |
| 19293 | if (o) { |
| 19294 | let a = At(o, { isNegative: n }); |
| 19295 | if (a !== null) |
| 19296 | return Vf(e, i, a); |
| 19297 | } |
| 19298 | let s = ur(t, { isNegative: n }); |
| 19299 | return s !== null ? Vf(e, i, s) : null; |
| 19300 | } |
| 19301 | function Vf(e, t, n) { |
| 19302 | if (e !== "inset") |
| 19303 | return _({ [e]: n }); |
no test coverage detected