"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../utils/accelerated-values.mjs.js"),r=require("../utils/is-browser-color.mjs.js"),o=require("../../../../../../motion-utils/dist/es/memo.mjs.js");const t=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),s=o.memo((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));exports.supportsBrowserAnimation=function(o){const{motionValue:n,name:a,repeatDelay:l,repeatType:i,damping:m,type:u,keyframes:c}=o,p=n?.owner?.current;if(!(p instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:b}=n.owner.getProps();return s()&&a&&(e.acceleratedValues.has(a)||t.has(a)&&r.hasBrowserOnlyColors(c))&&("transform"!==a||!b)&&!d&&!l&&"mirror"!==i&&0!==m&&"inertia"!==u};
//# sourceMappingURL=waapi.mjs.js.map
