{"ast":null,"code":"import { toDecimal } from './to-decimal.js';\nvar smoothFrame = function smoothFrame(prevValue, nextValue, duration, smoothing) {\n  if (smoothing === void 0) {\n    smoothing = 0;\n  }\n  return toDecimal(prevValue + duration * (nextValue - prevValue) / Math.max(smoothing, duration));\n};\nexport { smoothFrame };","map":{"version":3,"names":["toDecimal","smoothFrame","prevValue","nextValue","duration","smoothing","Math","max"],"sources":["C:/LDT/DSP_Management/node_modules/popmotion/dist/es/utils/smooth-frame.js"],"sourcesContent":["import { toDecimal } from './to-decimal.js';\n\nvar smoothFrame = function (prevValue, nextValue, duration, smoothing) {\n    if (smoothing === void 0) { smoothing = 0; }\n    return toDecimal(prevValue +\n        (duration * (nextValue - prevValue)) / Math.max(smoothing, duration));\n};\n\nexport { smoothFrame };\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAE3C,IAAIC,WAAW,GAAG,SAAdA,WAAWA,CAAaC,SAAS,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,SAAS,EAAE;EACnE,IAAIA,SAAS,KAAK,KAAK,CAAC,EAAE;IAAEA,SAAS,GAAG,CAAC;EAAE;EAC3C,OAAOL,SAAS,CAACE,SAAS,GACrBE,QAAQ,IAAID,SAAS,GAAGD,SAAS,CAAC,GAAII,IAAI,CAACC,GAAG,CAACF,SAAS,EAAED,QAAQ,CAAC,CAAC;AAC7E,CAAC;AAED,SAASH,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}