import r from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";var e={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},t={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function n(r){return"".concat(Math.round(r),"ms")}var o={easing:e,duration:t,create:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.duration,s=void 0===i?t.standard:i,u=a.easing,c=void 0===u?e.easeInOut:u,g=a.delay,l=void 0===g?0:g,d=r(a,["duration","easing","delay"]);if("production"!==process.env.NODE_ENV){var b=function(r){return"string"==typeof r},m=function(r){return!isNaN(parseFloat(r))};b(o)||Array.isArray(o)||console.error('Material-UI: Argument "props" must be a string or Array.'),m(s)||b(s)||console.error('Material-UI: Argument "duration" must be a number or a string but found '.concat(s,".")),b(c)||console.error('Material-UI: Argument "easing" must be a string.'),m(l)||b(l)||console.error('Material-UI: Argument "delay" must be a number or a string.'),0!==Object.keys(d).length&&console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(d).join(","),"]."))}return(Array.isArray(o)?o:[o]).map((function(r){return"".concat(r," ").concat("string"==typeof s?s:n(s)," ").concat(c," ").concat("string"==typeof l?l:n(l))})).join(",")},getAutoHeightDuration:function(r){if(!r)return 0;var e=r/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}};export default o;export{t as duration,e as easing};
//# sourceMappingURL=transitions.js.map
