const e=require("../../_util/cssinjs/Keyframes.js"),t=require("./motion.js");var n=new e.default(`antZoomIn`,{"0%":{transform:`scale(0.2)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),r=new e.default(`antZoomOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.2)`,opacity:0}}),i=new e.default(`antZoomBigIn`,{"0%":{transform:`scale(0.8)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),a=new e.default(`antZoomBigOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.8)`,opacity:0}}),o=new e.default(`antZoomUpIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 0%`}}),s=new e.default(`antZoomUpOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 0%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0}}),c=new e.default(`antZoomLeftIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`0% 50%`}}),l=new e.default(`antZoomLeftOut`,{"0%":{transform:`scale(1)`,transformOrigin:`0% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0}}),u=new e.default(`antZoomRightIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`100% 50%`}}),d=new e.default(`antZoomRightOut`,{"0%":{transform:`scale(1)`,transformOrigin:`100% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0}}),f=new e.default(`antZoomDownIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 100%`}}),p=new e.default(`antZoomDownOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 100%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0}}),m={zoom:{inKeyframes:n,outKeyframes:r},"zoom-big":{inKeyframes:i,outKeyframes:a},"zoom-big-fast":{inKeyframes:i,outKeyframes:a},"zoom-left":{inKeyframes:c,outKeyframes:l},"zoom-right":{inKeyframes:u,outKeyframes:d},"zoom-up":{inKeyframes:o,outKeyframes:s},"zoom-down":{inKeyframes:f,outKeyframes:p}},h=(e,n)=>{let{antCls:r}=e,i=`${r}-${n}`,{inKeyframes:a,outKeyframes:o}=m[n];return[t.initMotion(i,a,o,n===`zoom-big-fast`?e.motionDurationFast:e.motionDurationMid),{[`
        ${i}-enter,
        ${i}-appear
      `]:{transform:`scale(0)`,opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:`none`}},[`${i}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};exports.initZoomMotion=h,exports.zoomBigIn=i,exports.zoomBigOut=a,exports.zoomDownIn=f,exports.zoomDownOut=p,exports.zoomIn=n,exports.zoomLeftIn=c,exports.zoomLeftOut=l,exports.zoomOut=r,exports.zoomRightIn=u,exports.zoomRightOut=d,exports.zoomUpIn=o,exports.zoomUpOut=s;