"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../motion/utils/valid-prop.mjs.js"),t=require("../../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js");let i=t=>!o.isValidMotionProp(t);function e(t){"function"==typeof t&&(i=i=>i.startsWith("on")?!o.isValidMotionProp(i):t(i))}try{e(require("@emotion/is-prop-valid").default)}catch{}exports.filterProps=function(e,r,s){const a={};for(const n in e)"values"===n&&"object"==typeof e.values||t.isMotionValue(e[n])||(i(n)||!0===s&&o.isValidMotionProp(n)||!r&&!o.isValidMotionProp(n)||e.draggable&&n.startsWith("onDrag"))&&(a[n]=e[n]);return a},exports.loadExternalIsValidProp=e;
//# sourceMappingURL=filter-props.mjs.js.map
