"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const isMotionValue = require("./dist-es-value-utils-is-motion-value.cjs");
const keysTransform = require("./dist-es-render-html-utils-keys-transform.cjs");
const scrapeMotionValues = require("./dist-es-render-html-utils-scrape-motion-values.cjs");
function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
  const newValues = scrapeMotionValues.scrapeMotionValuesFromProps(props, prevProps, visualElement);
  for (const key in props) {
    if (isMotionValue.isMotionValue(props[key]) || isMotionValue.isMotionValue(prevProps[key])) {
      const targetKey = keysTransform.transformPropOrder.indexOf(key) !== -1 ? "attr" + key.charAt(0).toUpperCase() + key.substring(1) : key;
      newValues[targetKey] = props[key];
    }
  }
  return newValues;
}
exports.scrapeMotionValuesFromProps = scrapeMotionValuesFromProps;
//# sourceMappingURL=dist-es-render-svg-utils-scrape-motion-values.cjs.map
