import { supportsLinearEasing } from "./index174.js";
import { isGenerator } from "./index179.js";
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
function applyGeneratorOptions({ type, ...options }) {
	if (isGenerator(type) && supportsLinearEasing()) return type.applyToOptions(options);
	else {
		options.duration ?? (options.duration = 300);
		options.ease ?? (options.ease = "easeOut");
	}
	return options;
}
//#endregion
export { applyGeneratorOptions };

//# sourceMappingURL=index180.js.map