import*as e from"react";import{slideFadeConfig as r}from"../../../transition/dist/esm/slide-fade.js";import{scaleFadeConfig as t}from"../../../transition/dist/esm/scale-fade.js";import{motion as s}from"../../../../framer-motion/dist/es/render/dom/motion.js";import{chakra as o}from"../../../system/dist/esm/system.js";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e}).apply(this,arguments)}var i={slideInBottom:n({},r,{custom:{offsetY:16,reverse:!0}}),slideInRight:n({},r,{custom:{offsetX:16,reverse:!0}}),scale:n({},t,{custom:{initialScale:.95,reverse:!0}}),none:{}},m=o(s.section),a=e.forwardRef(((r,t)=>{var{preset:s}=r,o=function(e,r){if(null==e)return{};var t,s,o={},n=Object.keys(e);for(s=0;s<n.length;s++)t=n[s],r.indexOf(t)>=0||(o[t]=e[t]);return o}(r,["preset"]),a=i[s];return e.createElement(m,n({ref:t},a,o))}));export{a as ModalTransition};
//# sourceMappingURL=modal-transition.js.map
