import{motionValue as e}from"../../value/index.js";import{isMotionValue as a}from"../../value/utils/is-motion-value.js";function i(i,l,r){var u;for(var o in l){var t=l[o],v=r[o];if(a(t))i.addValue(o,t);else if(a(v))i.addValue(o,e(t));else if(v!==t)if(i.hasValue(o)){var d=i.getValue(o);!d.hasAnimated&&d.set(t)}else i.addValue(o,e(null!==(u=i.getStaticValue(o))&&void 0!==u?u:t))}for(var o in r)void 0===l[o]&&i.removeValue(o);return l}export{i as updateMotionValuesFromProps};
//# sourceMappingURL=motion-values.js.map
