"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../value/types/complex/index.mjs.js"),r=require("../../utils/mix/number.mjs.js");const t={correct:(t,o)=>{let{treeScale:s,projectionDelta:c}=o;const n=t,u=e.complex.parse(t);if(u.length>5)return n;const l=e.complex.createTransformer(t),m="number"!=typeof u[0]?1:0,p=c.x.scale*s.x,a=c.y.scale*s.y;u[0+m]/=p,u[1+m]/=a;const x=r.mixNumber(p,a,.5);return"number"==typeof u[2+m]&&(u[2+m]/=x),"number"==typeof u[3+m]&&(u[3+m]/=x),l(u)}};exports.correctBoxShadow=t;
//# sourceMappingURL=scale-box-shadow.mjs.js.map
