"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../motion-utils/dist-es-errors.cjs");
const memo = require("../motion-utils/dist-es-memo.cjs");
const flags = require("./dist-es-utils-supports-flags.cjs");
function memoSupports(callback, supportsFlag) {
  const memoized = memo.memo(callback);
  return () => {
    var _a;
    return (_a = flags.supportsFlags[supportsFlag]) !== null && _a !== void 0 ? _a : memoized();
  };
}
exports.memoSupports = memoSupports;
//# sourceMappingURL=dist-es-utils-supports-memo.cjs.map
